MCPcopy Create free account
hub / github.com/ARM-software/armnn / ClSubTensorHandle

Method ClSubTensorHandle

src/backends/cl/ClTensorHandle.hpp:249–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247{
248public:
249 ClSubTensorHandle(IClTensorHandle* parent,
250 const arm_compute::TensorShape& shape,
251 const arm_compute::Coordinates& coords)
252 : m_Tensor(&parent->GetTensor(), shape, coords)
253 {
254 parentHandle = parent;
255 }
256
257 arm_compute::CLSubTensor& GetTensor() override { return m_Tensor; }
258 arm_compute::CLSubTensor const& GetTensor() const override { return m_Tensor; }

Callers

nothing calls this directly

Calls 1

GetTensorMethod · 0.80

Tested by

no test coverage detected