diff options
Diffstat (limited to 'arm_compute/core/WindowIterator.h')
-rw-r--r-- | arm_compute/core/WindowIterator.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/arm_compute/core/WindowIterator.h b/arm_compute/core/WindowIterator.h index 32d6293a5a..15289b6d69 100644 --- a/arm_compute/core/WindowIterator.h +++ b/arm_compute/core/WindowIterator.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. + * Copyright (c) 2018-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -86,6 +86,15 @@ public: _strides[dim] = size; } + /** Manually set the strides + * + * @param[in] strides Strides to set + */ + void set_strides(const Strides &strides) + { + _strides = strides; + } + /** Returns a pointer to the element at coordinates (x,y,z,w) * * @param[in] x X coordinates |