MCPcopy Create free account
hub / github.com/OAID/Tengine / AddNodeInputTensor

Function AddNodeInputTensor

core/lib/static_graph.cpp:326–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324}
325
326int AddNodeInputTensor(StaticNode* node, StaticTensor* tensor)
327{
328 int input_idx = node->input_tensor_list.size();
329
330 node->input_tensor_list.push_back(tensor->index);
331
332 AddTensorConsumer(tensor, node, input_idx);
333
334 return input_idx;
335}
336
337int AddNodeOutputTensor(StaticNode* node, StaticTensor* tensor)
338{

Callers 15

LoadNodeMethod · 0.85
LoadNodeMethod · 0.85
LoadNodeMethod · 0.85
LoadCaffeBlobFunction · 0.85
CreatePresetNodeFunction · 0.85
LoadLiteNodeMethod · 0.85
LoadNodeMethod · 0.85
LoadMxnetEltScalarFunction · 0.85
LoadConv2DFunction · 0.85
LoadDeConv2DFunction · 0.85
LoadPoolFunction · 0.85
LoadBatchNormFunction · 0.85

Calls 2

AddTensorConsumerFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected