MCPcopy Create free account
hub / github.com/UbiquitousLearning/mllm / getTopParameterFile

Method getTopParameterFile

mllm/nn/Module.cpp:78–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76void ModuleImpl::updateBuffer(const std::string& name, const Tensor& tensor) { buffer_[name] = tensor; }
77
78ParameterFile::ptr_t ModuleImpl::getTopParameterFile() {
79 if (resources_mapped_files_.empty()) { return nullptr; }
80 return resources_mapped_files_.back();
81}
82
83Module::Module() {
84 impl_ = std::make_shared<ModuleImpl>();

Callers 15

QDQ_CONSTANTFunction · 0.80
QDQFunction · 0.80
QDQ_KVFunction · 0.80
QDQ_ROPEFunction · 0.80
QDQ_CONSTANTFunction · 0.80
QDQFunction · 0.80
QDQ_KVFunction · 0.80
QDQ_ROPEFunction · 0.80
QDQ_CONSTANTFunction · 0.80
QDQFunction · 0.80
QDQ_KVFunction · 0.80
QDQ_ROPEFunction · 0.80

Calls 2

backMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected