MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / AddNode

Method AddNode

tensorflow/lite/graph_info_test.cc:62–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 const std::vector<int>& variables() const override { return variables_; }
61
62 void AddNode(const std::vector<int>& inputs,
63 const std::vector<int>& outputs) {
64 nodes_.push_back(TfLiteNode());
65 TfLiteNode& node = nodes_.back();
66 node.inputs = ConvertVector(inputs);
67 node.outputs = ConvertVector(outputs);
68 }
69
70 void AddTensors(int count) { tensors_.resize(count + tensors_.size()); }
71

Callers 1

TESTFunction · 0.45

Calls 3

ConvertVectorFunction · 0.85
push_backMethod · 0.45
backMethod · 0.45

Tested by

no test coverage detected