Skip to content

Commit

Permalink
update test (apache#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen committed May 26, 2018
1 parent 47cacbf commit 7660fd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nnvm/tests/cpp/op_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
NNVM_REGISTER_OP(add)
.describe("add two data together")
.set_num_inputs(2)
.attr("inplace_pair", std::make_pair(0, 0));
.set_attr("inplace_pair", std::make_pair(0, 0));

NNVM_REGISTER_OP(add)
.attr<std::string>("nick_name", "plus");
.set_attr<std::string>("nick_name", "plus");


TEST(Op, GetAttr) {
Expand Down

0 comments on commit 7660fd1

Please sign in to comment.