diff --git a/libnd4j/include/ops/declarable/generic/parity_ops/strided_slice.cpp b/libnd4j/include/ops/declarable/generic/parity_ops/strided_slice.cpp index 22837b92a..44fe5999a 100644 --- a/libnd4j/include/ops/declarable/generic/parity_ops/strided_slice.cpp +++ b/libnd4j/include/ops/declarable/generic/parity_ops/strided_slice.cpp @@ -640,7 +640,7 @@ namespace nd4j { Nd4jLong *newShape; COPY_SHAPE(inShape, newShape); - return SHAPELIST(newShape); + return SHAPELIST(CONSTANT(newShape)); } DECLARE_TYPES(strided_slice) {