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

Method create_tensor

src/cpu/CpuContext.cpp:169–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169ITensorV2 *CpuContext::create_tensor(const AclTensorDescriptor &desc, bool allocate)
170{
171 CpuTensor *tensor = new CpuTensor(this, desc);
172 if (tensor != nullptr && allocate)
173 {
174 tensor->allocate();
175 }
176 return tensor;
177}
178
179IQueue *CpuContext::create_queue(const AclQueueOptions *options)
180{

Callers 1

AclCreateTensorFunction · 0.45

Calls 1

allocateMethod · 0.45

Tested by

no test coverage detected