diff --git a/src/opr/impl/atlas_runtime_op.cpp b/src/opr/impl/atlas_runtime_op.cpp index 89ca0ba77cc110b95a8aa95db53311226410f21d..0d15ad6e34ed1e24739a0b2f8f0cf78b10403eb3 100644 --- a/src/opr/impl/atlas_runtime_op.cpp +++ b/src/opr/impl/atlas_runtime_op.cpp @@ -40,9 +40,6 @@ TensorShape acl_shape_to_mgb_shape_for_input( MGB_MARK_USED_VAR(aipp_input_fmt); TensorShape ret; ret.ndim = acl_shape.dimCount; - mgb_assert( - ret.ndim == 4, "Unexpected ndim form aclmdlIODims expected 4, but got %zu", - ret.ndim); for (size_t i = 0; i < ret.ndim; ++i) { ret[i] = acl_shape.dims[i]; }