diff options
author | Diego Lopez Recas <Diego.LopezRecas@arm.com> | 2017-12-18 11:28:27 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:43:10 +0000 |
commit | bcbc970f1f5b47f7314a5ad078820bc8a5edca94 (patch) | |
tree | 6bca70896b993adc80aea5e652d9e8dcefff3d8d /src/core/SubTensorInfo.cpp | |
parent | 1bfc7849950b67aeee382b08f27fd0b1b5ef0587 (diff) | |
download | ComputeLibrary-bcbc970f1f5b47f7314a5ad078820bc8a5edca94.tar.gz |
IVGCVSW-863 calculate_max_window..() family takes ValidRegion
Change-Id: I91e39713ffa580e9d2213988ad3517a8a41bf4e8
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/114013
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/core/SubTensorInfo.cpp')
-rw-r--r-- | src/core/SubTensorInfo.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/SubTensorInfo.cpp b/src/core/SubTensorInfo.cpp index 8acd71ceb0..7a4886ff60 100644 --- a/src/core/SubTensorInfo.cpp +++ b/src/core/SubTensorInfo.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017, 2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -46,9 +46,7 @@ SubTensorInfo::SubTensorInfo(ITensorInfo *parent, TensorShape tensor_shape, Coor } // Initialize valid region - Coordinates coordinates; - coordinates.set_num_dimensions(_tensor_shape.num_dimensions()); - _valid_region = ValidRegion{ coordinates, _tensor_shape }; + _valid_region = ValidRegion{ Coordinates(), _tensor_shape }; } std::unique_ptr<ITensorInfo> SubTensorInfo::clone() const |