Skip to content

Commit

Permalink
update test (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen authored Sep 15, 2016
1 parent c68f296 commit dc944d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 dc944d6

Please sign in to comment.