MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / create_tensor

Method create_tensor

src/graph/Graph.cpp:159–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159TensorID Graph::create_tensor(const TensorDescriptor &desc)
160{
161 TensorID tid = _tensors.size();
162 auto tensor = std::make_unique<Tensor>(tid, desc);
163 _tensors.push_back(std::move(tensor));
164
165 return tid;
166}
167
168std::string Graph::name() const
169{

Callers 1

configure_tensorFunction · 0.45

Calls 2

push_backMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected