diff options
Diffstat (limited to 'src/graph2/backends/CL/CLSubTensorHandle.cpp')
-rw-r--r-- | src/graph2/backends/CL/CLSubTensorHandle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graph2/backends/CL/CLSubTensorHandle.cpp b/src/graph2/backends/CL/CLSubTensorHandle.cpp index 2954652d71..a001d57832 100644 --- a/src/graph2/backends/CL/CLSubTensorHandle.cpp +++ b/src/graph2/backends/CL/CLSubTensorHandle.cpp @@ -31,12 +31,12 @@ namespace graph2 { namespace backends { -CLSubTensorHandle::CLSubTensorHandle(ITensorHandle *parent_handle, const TensorShape &shape, const Coordinates &coords) +CLSubTensorHandle::CLSubTensorHandle(ITensorHandle *parent_handle, const TensorShape &shape, const Coordinates &coords, bool extend_parent) : _sub_tensor() { ARM_COMPUTE_ERROR_ON(!parent_handle); auto parent_tensor = arm_compute::utils::cast::polymorphic_downcast<ICLTensor *>(&parent_handle->tensor()); - _sub_tensor = arm_compute::CLSubTensor(parent_tensor, shape, coords); + _sub_tensor = arm_compute::CLSubTensor(parent_tensor, shape, coords, extend_parent); } void CLSubTensorHandle::allocate() |