MCPcopy Create free account
hub / github.com/FastFlowLM/FastFlowLM / Embedding

Method Embedding

src/include/modules/embedding.hpp:26–26  ·  view source on GitHub ↗

\brief Constructor \param vocab_size the vocabulary size \param d_model the model dimension

Source from the content-addressed store, hash-verified

24 /// \param vocab_size the vocabulary size
25 /// \param d_model the model dimension
26 Embedding(){};
27 Embedding(int vocab_size, int d_model){
28 this->vocab_size = vocab_size;
29 this->d_model = d_model;

Callers

nothing calls this directly

Calls 1

resizeMethod · 0.45

Tested by

no test coverage detected