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

Method AddInput

dnnlibrary/Model.cpp:94–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void Model::AddInput(const std::string &name, const Shaper::Shape &shape) {
95 input_names_.push_back(name);
96 shaper_.AddShape(name, shape);
97}
98
99void Model::AddOutput(const std::string &name, const Shaper::Shape &shape) {
100 output_names_.push_back(name);

Callers 2

AddInputsFunction · 0.45
mainFunction · 0.45

Calls 1

AddShapeMethod · 0.80

Tested by

no test coverage detected