Skip to content

Commit 35f54ec

Browse files
committed
update test (#48)
1 parent 2c14498 commit 35f54ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nnvm/tests/cpp/op_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
NNVM_REGISTER_OP(add)
77
.describe("add two data together")
88
.set_num_inputs(2)
9-
.attr("inplace_pair", std::make_pair(0, 0));
9+
.set_attr("inplace_pair", std::make_pair(0, 0));
1010

1111
NNVM_REGISTER_OP(add)
12-
.attr<std::string>("nick_name", "plus");
12+
.set_attr<std::string>("nick_name", "plus");
1313

1414

1515
TEST(Op, GetAttr) {

0 commit comments

Comments
 (0)