aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/Utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/core/Utils.h')
-rw-r--r--arm_compute/core/Utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arm_compute/core/Utils.h b/arm_compute/core/Utils.h
index 816999db51..d112259d39 100644
--- a/arm_compute/core/Utils.h
+++ b/arm_compute/core/Utils.h
@@ -827,10 +827,11 @@ inline void permute_strides(Dimensions<T> &dimensions, const PermutationVector &
* @param[in] input_shape Input shape
* @param[in] weights_shape Weights shape
* @param[in] conv_info Convolution information (containing strides)
+ * @param[in] data_layout (Optional) Data layout of the input and weights tensor
*
* @return PadStrideInfo for SAME padding
*/
-PadStrideInfo calculate_same_pad(TensorShape input_shape, TensorShape weights_shape, PadStrideInfo conv_info);
+PadStrideInfo calculate_same_pad(TensorShape input_shape, TensorShape weights_shape, PadStrideInfo conv_info, DataLayout data_layout = DataLayout::NCHW);
/** Returns expected width and height of the deconvolution's output tensor.
*