diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-01-10 15:33:28 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:43:42 +0000 |
commit | 652bde553f506caac4c563988dc9baf746f9584d (patch) | |
tree | 931d17bdfa70e9968cd434cfa53db8919bb534ea /arm_compute/runtime | |
parent | f72f9367d1eddee91f15a64952b99ee6b80b821d (diff) | |
download | ComputeLibrary-652bde553f506caac4c563988dc9baf746f9584d.tar.gz |
COMPMID-674 - Create Google InceptionV3 example
Change-Id: I389e0d4104b7dde60b7cdd612a83f3328517e44c
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/115804
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/runtime')
-rw-r--r-- | arm_compute/runtime/CL/CLSubTensor.h | 11 | ||||
-rw-r--r-- | arm_compute/runtime/SubTensor.h | 11 |
2 files changed, 12 insertions, 10 deletions
diff --git a/arm_compute/runtime/CL/CLSubTensor.h b/arm_compute/runtime/CL/CLSubTensor.h index 4bab164779..b6e9a29df4 100644 --- a/arm_compute/runtime/CL/CLSubTensor.h +++ b/arm_compute/runtime/CL/CLSubTensor.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -39,11 +39,12 @@ class CLSubTensor : public ICLTensor public: /** Constructor * - * @param[in] parent Parent tensor - * @param[in] tensor_shape Shape of the subtensor - * @param[in] coords Coordinates of the first subtensor element inside the parent tensor. + * @param[in] parent Parent tensor + * @param[in] tensor_shape Shape of the subtensor + * @param[in] coords Coordinates of the first subtensor element inside the parent tensor. + * @param[in] extend_parent (Optional) Extend parent with subtensor shape if subtensor indexes out of bounds */ - CLSubTensor(ICLTensor *parent, const TensorShape &tensor_shape, const Coordinates &coords); + CLSubTensor(ICLTensor *parent, const TensorShape &tensor_shape, const Coordinates &coords, bool extend_parent = false); /** Destructor: free the tensor's memory */ ~CLSubTensor() = default; /** Restrict instances of this class to be copy constructed */ diff --git a/arm_compute/runtime/SubTensor.h b/arm_compute/runtime/SubTensor.h index bdb229de49..ba2f8682af 100644 --- a/arm_compute/runtime/SubTensor.h +++ b/arm_compute/runtime/SubTensor.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -39,11 +39,12 @@ class SubTensor : public ITensor public: /** Constructor * - * @param[in] parent Parent tensor - * @param[in] tensor_shape Shape of the subtensor - * @param[in] coords Coordinates of the first subtensor element inside the parent tensor. + * @param[in] parent Parent tensor + * @param[in] tensor_shape Shape of the subtensor + * @param[in] coords Coordinates of the first subtensor element inside the parent tensor. + * @param[in] extend_parent (Optional) Extend parent with subtensor shape if subtensor indexes out of bounds */ - SubTensor(ITensor *parent, const TensorShape &tensor_shape, const Coordinates &coords); + SubTensor(ITensor *parent, const TensorShape &tensor_shape, const Coordinates &coords, bool extend_parent = false); /** Destructor: free the tensor's memory */ ~SubTensor() = default; /** Restrict instances of this class to be copy constructed */ |