Download mosesdecoder/moses/TranslationModel/UG/mm/num_read_write.h from sleepyhead111/vllm_fairseq: direct link, hf CLI and curl.
- Browser
- Download file 664 Bytes
-
https://huggingface.co/sleepyhead111/vllm_fairseq/resolve/main/mosesdecoder/moses/TranslationModel/UG/mm/num_read_write.h
- Command line
-
hf download hf://sleepyhead111/vllm_fairseq/mosesdecoder/moses/TranslationModel/UG/mm/num_read_write.h
-
curl -L -o num_read_write.h https://huggingface.co/sleepyhead111/vllm_fairseq/resolve/main/mosesdecoder/moses/TranslationModel/UG/mm/num_read_write.h
664 Bytes
| // -*- mode: c++; indent-tabs-mode: nil; tab-width:2 -*- | |
| // (c) 2006,2007,2008 Ulrich Germann | |
| // #ifndef __num_read_write_hh | |
| // #define __num_read_write_hh | |
| // #include <endian.h> | |
| // #include <byteswap.h> | |
| // #include "tpt_typedefs.h" | |
| namespace tpt { | |
| void numwrite(std::ostream& out, uint16_t const& x); | |
| void numwrite(std::ostream& out, uint32_t const& x); | |
| void numwrite(std::ostream& out, uint64_t const& x); | |
| char const* numread(char const* src, uint16_t & x); | |
| char const* numread(char const* src, uint32_t & x); | |
| char const* numread(char const* src, uint64_t & x); | |
| } // end of namespace ugdiss | |