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

Function AddTensorConsumer

core/lib/static_graph.cpp:444–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442}
443
444void AddTensorConsumer(StaticTensor* tensor, StaticNode* node, int idx)
445{
446 NodeSynapse entry;
447 entry.node_index = node->index;
448 entry.entry_index = idx;
449 tensor->consumer.emplace_back(entry);
450}
451
452StaticNode* GetTensorProducer(StaticGraph* graph, StaticTensor* tensor)
453{

Callers 1

AddNodeInputTensorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected