From fd0117ef6d0240eb7e03ff1448a2adb39b44a4a9 Mon Sep 17 00:00:00 2001 From: oneflow-ci-bot Date: Wed, 29 May 2024 08:11:01 +0000 Subject: [PATCH] auto format by CI --- oneflow/core/functional/impl/common.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/oneflow/core/functional/impl/common.cpp b/oneflow/core/functional/impl/common.cpp index 24b123aee87..017b417f65c 100644 --- a/oneflow/core/functional/impl/common.cpp +++ b/oneflow/core/functional/impl/common.cpp @@ -206,9 +206,8 @@ Maybe CheckInplaceShapeCanExpandTo(const Shape& shape, const Shape& expand Maybe CheckSizeNonNegative(const Shape& shape) { for (const auto& s : shape) { - CHECK_OR_THROW(s >= 0) - << "Trying to create tensor with negative dimension " << s << ": " - << shape; + CHECK_OR_THROW(s >= 0) << "Trying to create tensor with negative dimension " << s << ": " + << shape; } return Maybe::Ok(); }