MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / n_embd_inp

Method n_embd_inp

subprojects/llama.cpp/src/llama-hparams.cpp:65–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65uint32_t llama_hparams::n_embd_inp() const {
66 uint32_t n_embd_inp = n_embd;
67
68 if (n_deepstack_layers > 0) {
69 n_embd_inp += n_embd * n_deepstack_layers;
70 }
71
72 return n_embd_inp;
73}
74
75uint32_t llama_hparams::n_embd_out() const {
76 return n_embd_out_impl > 0 ? n_embd_out_impl : n_embd;

Callers 8

weight_buft_supportedFunction · 0.80
print_infoMethod · 0.80
llama_model_n_embd_inpFunction · 0.80
build_inp_embdMethod · 0.80
build_inp_cross_embdMethod · 0.80
encodeMethod · 0.80
decodeMethod · 0.80
opt_epoch_iterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected