aboutsummaryrefslogtreecommitdiff
path: root/src/core/SubTensorInfo.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-03-15 18:02:21 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:49:16 +0000
commit6528aa20e768f2d801328aa164d672b7fdfe266f (patch)
treef47ac1e3ec04a146ac78837d24e20f67d9c4b898 /src/core/SubTensorInfo.cpp
parentd2fab7315bac3a586f2f1b1c8d64f2441f89ca64 (diff)
downloadComputeLibrary-6528aa20e768f2d801328aa164d672b7fdfe266f.tar.gz
COMPMID-959: Set output valid region to CLPermuteKernel.
Change-Id: Ieb62347c71cef5ac8941e632c8afa678f5db6f21 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/124813 Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/SubTensorInfo.cpp')
-rw-r--r--src/core/SubTensorInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SubTensorInfo.cpp b/src/core/SubTensorInfo.cpp
index 836c3794c2..237f1333f2 100644
--- a/src/core/SubTensorInfo.cpp
+++ b/src/core/SubTensorInfo.cpp
@@ -100,6 +100,7 @@ ITensorInfo &SubTensorInfo::set_tensor_shape(const TensorShape &shape)
if(_parent->tensor_shape().total_size() != 0 && !_extend_parent)
{
ARM_COMPUTE_ERROR_ON_INVALID_SUBTENSOR(_parent->tensor_shape(), _coords, shape);
+ _valid_region = ValidRegion{ _coords, shape };
}
else if(_extend_parent) // Extend parent shape, configure if specified
{