Skip to content

Commit

Permalink
update test (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen committed May 29, 2018
1 parent 2c14498 commit 35f54ec
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 35f54ec

Please sign in to comment.