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 689de5b commit 2c14498Copy full SHA for 2c14498
nnvm/docs/overview.md
@@ -110,13 +110,13 @@ NNVM_REGISTER_OP(add)
110
111
// register to tell first input can be calculate inplace with first output
112
NNVM_REGISTER_OP(add)
113
-.attr<FInplaceOption>("FInplaceOption", [](const NodeAttrs& attrs) {
+.set_attr<FInplaceOption>("FInplaceOption", [](const NodeAttrs& attrs) {
114
return std::vector<std::pair<int, int> >{{0, 0}};
115
});
116
117
NNVM_REGISTER_OP(exp)
118
.set_num_inputs(1)
119
120
121
122
```
0 commit comments