diff --git a/test/operators/test_increment_op.cpp b/test/operators/test_increment_op.cpp index bec564593878cc68bf7ea8628d38bf5567cfd331..cb1fc9478c65dd70a758dfdf4a3f795470f720af 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 d5d5efd4b3627a50e2c74c82d31c8b7f229aea53..5283b2bd69e47ece6d7569f3b68706008c89ef94 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();