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

Method getBuffer

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

Source from the content-addressed store, hash-verified

72void ModuleImpl::registerBuffer(const std::string& name, const Tensor& tensor) { buffer_.reg(name, tensor); }
73
74Tensor ModuleImpl::getBuffer(const std::string& name) { return buffer_[name]; }
75
76void ModuleImpl::updateBuffer(const std::string& name, const Tensor& tensor) { buffer_[name] = tensor; }
77

Callers 15

forwardMethod · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
traceMethod · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
generate_next_chunkMethod · 0.80
prefillTextMethod · 0.80
prefillAudioIdsMethod · 0.80
generateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected