Download mosesdecoder/moses2/PhraseBased/InputPaths.h from sleepyhead111/vllm_fairseq: direct link, hf CLI and curl.
- Browser
- Download file 639 Bytes
-
https://huggingface.co/sleepyhead111/vllm_fairseq/resolve/main/mosesdecoder/moses2/PhraseBased/InputPaths.h
- Command line
-
hf download hf://sleepyhead111/vllm_fairseq/mosesdecoder/moses2/PhraseBased/InputPaths.h
-
curl -L -o InputPaths.h https://huggingface.co/sleepyhead111/vllm_fairseq/resolve/main/mosesdecoder/moses2/PhraseBased/InputPaths.h
639 Bytes
| /* | |
| * InputPaths.h | |
| * | |
| * Created on: 23 Oct 2015 | |
| * Author: hieu | |
| */ | |
| namespace Moses2 | |
| { | |
| class System; | |
| class InputPaths: public InputPathsBase | |
| { | |
| public: | |
| void Init(const InputType &input, const ManagerBase &mgr); | |
| const InputPath &GetBlank() const { | |
| return *m_blank; | |
| } | |
| Matrix<InputPath*> &GetMatrix() { | |
| return *m_matrix; | |
| } | |
| const Matrix<InputPath*> &GetMatrix() const { | |
| return *m_matrix; | |
| } | |
| protected: | |
| InputPath *m_blank; | |
| Matrix<InputPath*> *m_matrix; | |
| }; | |
| } | |