We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c14498 commit 35f54ecCopy full SHA for 35f54ec
nnvm/tests/cpp/op_test.cc
@@ -6,10 +6,10 @@
6
NNVM_REGISTER_OP(add)
7
.describe("add two data together")
8
.set_num_inputs(2)
9
-.attr("inplace_pair", std::make_pair(0, 0));
+.set_attr("inplace_pair", std::make_pair(0, 0));
10
11
12
-.attr<std::string>("nick_name", "plus");
+.set_attr<std::string>("nick_name", "plus");
13
14
15
TEST(Op, GetAttr) {
0 commit comments