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

Method create_tensor

src/gpu/cl/ClContext.cpp:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89ITensorV2 *ClContext::create_tensor(const AclTensorDescriptor &desc, bool allocate)
90{
91 ClTensor *tensor = new ClTensor(this, desc);
92 if (tensor != nullptr && allocate)
93 {
94 tensor->allocate();
95 }
96 return tensor;
97}
98
99IQueue *ClContext::create_queue(const AclQueueOptions *options)
100{

Callers

nothing calls this directly

Calls 1

allocateMethod · 0.45

Tested by

no test coverage detected