Skip to content

Commit

Permalink
fix doc (apache#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
TaoLv authored and tqchen committed May 29, 2018
1 parent 510cd5e commit 39cc9c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nnvm/docs/dev/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ void MyFunction() {
static auto& finplace_option_map = Op::GetAttr<FInplaceOption>("FInplaceOption");
// quick look up attribute of add, O(1) time, vector index lookup internally.
auto add_inplace = finplace_option_tbl[add];
auto add_inplace = finplace_option_map[add];
}
```
Besides making the code minimum, this attribute store enables decentralization of projects.
Expand Down
2 changes: 1 addition & 1 deletion nnvm/include/nnvm/pass.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ inline Graph ApplyPass(Graph src, const std::string& pass) {


/*!
* \brief Registry entry for DataIterator factory functions.
* \brief Registry entry for pass functions.
*/
struct PassFunctionReg
: public dmlc::FunctionRegEntryBase<PassFunctionReg,
Expand Down

0 comments on commit 39cc9c1

Please sign in to comment.