From 4636951e3a0fd21756c5472601a82cd8537c908d Mon Sep 17 00:00:00 2001 From: zhaojiaying01 Date: Mon, 28 Jan 2019 21:43:21 +0800 Subject: [PATCH] format code style --- test/operators/test_increment_op.cpp | 4 ++-- test/operators/test_is_empty_op.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/operators/test_increment_op.cpp b/test/operators/test_increment_op.cpp index bec5645938..cb1fc9478c 100644 --- a/test/operators/test_increment_op.cpp +++ b/test/operators/test_increment_op.cpp @@ -41,8 +41,8 @@ int TestIncrementOp(const std::vector input_shape, int step) { framework::AttributeMap attrs; attrs["step"].Set(step); - auto *op = new operators::IncrementOp("increment", inputs, outputs, - attrs, scope); + auto *op = new operators::IncrementOp("increment", inputs, + outputs, attrs, scope); op->InferShape(); op->Init(); diff --git a/test/operators/test_is_empty_op.cpp b/test/operators/test_is_empty_op.cpp index d5d5efd4b3..5283b2bd69 100644 --- a/test/operators/test_is_empty_op.cpp +++ b/test/operators/test_is_empty_op.cpp @@ -37,7 +37,7 @@ int TestIsEmptyOp(const std::vector input_shape) { framework::AttributeMap attrs; auto *op = new operators::IsEmptyOp("is_empty", inputs, outputs, - attrs, scope); + attrs, scope); op->InferShape(); op->Init(); -- GitLab