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

Method AddTensor

core/lib/graph.cpp:502–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

500}
501
502bool Graph::AddTensor(Tensor* tensor, bool set_owner)
503{
504 tensor_map_[tensor->GetName()] = tensor;
505
506 if(set_owner)
507 SetTensorOwner(tensor);
508
509 return true;
510}
511
512void Graph::PopulateDynamicShape(void)
513{

Callers 2

do_merge_graphFunction · 0.80
create_graph_tensorFunction · 0.80

Calls 1

GetNameMethod · 0.80

Tested by

no test coverage detected