MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / addDataLoader

Method addDataLoader

plugins/wasmedge_llmc/llmc_env.cpp:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32uint32_t LLMCEnv::addDataLoader(DataLoader *D) noexcept {
33 DataLoaders.push_back(D);
34 return DataLoaders.size() - 1;
35}
36
37DataLoader *LLMCEnv::getDataLoader(uint32_t Id) noexcept {
38 assert(Id < DataLoaders.size() && "Out of bounds");

Callers 1

bodyImplMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected