| 247 | { |
| 248 | public: |
| 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; } |