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

Function AddNodeOutputTensor

core/lib/static_graph.cpp:337–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335}
336
337int AddNodeOutputTensor(StaticNode* node, StaticTensor* tensor)
338{
339 int out_idx = node->output_tensor_list.size();
340 node->output_tensor_list.push_back(tensor->index);
341
342 SetTensorProducer(tensor, node, out_idx);
343
344 return out_idx;
345}
346
347void SetNodeOp(StaticNode* node, StaticOp* op)
348{

Callers 15

LoadNodeMethod · 0.85
LoadNodeMethod · 0.85
LoadNodeMethod · 0.85
LoadCaffeBlobFunction · 0.85
CreatePresetNodeFunction · 0.85
LoadConstLiteTensorMethod · 0.85
LoadLiteNodeMethod · 0.85
CreateGraphInputNodeMethod · 0.85
LoadConstTensorMethod · 0.85
CreateInputNodeMethod · 0.85
LoadNodeMethod · 0.85
LoadMxnetEltScalarFunction · 0.85

Calls 2

SetTensorProducerFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected