MCPcopy Create free account
hub / github.com/JDAI-CV/DNNLibrary / AddOutput

Method AddOutput

dnnlibrary/Model.cpp:99–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void Model::AddOutput(const std::string &name, const Shaper::Shape &shape) {
100 output_names_.push_back(name);
101 shaper_.AddShape(name, shape);
102}
103
104size_t Model::GetSize(const std::string &name) {
105 return shaper_.GetSize(name);

Callers 4

AddOutputsFunction · 0.80
ModelBuilder.cppFile · 0.80
mainFunction · 0.80

Calls 1

AddShapeMethod · 0.80

Tested by

no test coverage detected