Download tools/mosesdecoder/util/stream/timer.hh from Quagmire1/wiki-cased: direct link, hf CLI and curl.
- Browser
- Download file 468 Bytes
-
https://huggingface.co/Quagmire1/wiki-cased/resolve/main/tools/mosesdecoder/util/stream/timer.hh
- Command line
-
hf download hf://Quagmire1/wiki-cased/tools/mosesdecoder/util/stream/timer.hh
-
curl -L -o timer.hh https://huggingface.co/Quagmire1/wiki-cased/resolve/main/tools/mosesdecoder/util/stream/timer.hh
468 Bytes
| // Sorry Jon, this was adding library dependencies in Moses and people complained. | |
| /*#include <boost/version.hpp> | |
| #if BOOST_VERSION >= 104800 | |
| #include <boost/timer/timer.hpp> | |
| #define UTIL_TIMER(str) boost::timer::auto_cpu_timer timer(std::cerr, 1, (str)) | |
| #else | |
| //#warning Using Boost older than 1.48. Timing information will not be available.*/ | |
| //#endif | |