MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / add_model_file

Method add_model_file

src/framework/assets/resource_bundle.cpp:42–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void ResourceBundle::add_tensor_source(std::string id, const std::filesystem::path & path, std::string tensor_prefix) {
43 const auto key = id;
44 add_file(std::move(id), path);
45 auto [it, inserted] = tensor_resources_.emplace(
46 key,
47 TensorResource{

Callers 2

resolve_citrinet_assetsFunction · 0.80
resolve_marblenet_assetsFunction · 0.80

Calls 1

resolve_model_fileFunction · 0.85

Tested by

no test coverage detected