aboutsummaryrefslogtreecommitdiff
path: root/src/graph2/backends/NEON/NESubTensorHandle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph2/backends/NEON/NESubTensorHandle.cpp')
-rw-r--r--src/graph2/backends/NEON/NESubTensorHandle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graph2/backends/NEON/NESubTensorHandle.cpp b/src/graph2/backends/NEON/NESubTensorHandle.cpp
index 9b3c9b18d6..491cf8259c 100644
--- a/src/graph2/backends/NEON/NESubTensorHandle.cpp
+++ b/src/graph2/backends/NEON/NESubTensorHandle.cpp
@@ -29,11 +29,11 @@ namespace graph2
{
namespace backends
{
-NESubTensorHandle::NESubTensorHandle(ITensorHandle *parent_handle, const TensorShape &shape, const Coordinates &coords)
+NESubTensorHandle::NESubTensorHandle(ITensorHandle *parent_handle, const TensorShape &shape, const Coordinates &coords, bool extend_parent)
: _sub_tensor()
{
ARM_COMPUTE_ERROR_ON(!parent_handle);
- _sub_tensor = arm_compute::SubTensor(&parent_handle->tensor(), shape, coords);
+ _sub_tensor = arm_compute::SubTensor(&parent_handle->tensor(), shape, coords, extend_parent);
}
void NESubTensorHandle::allocate()