Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
39cc9c12
Commit
39cc9c12
authored
May 24, 2018
by
Tao Lv
Committed by
Tianqi Chen
May 29, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix doc (#510)
parent
510cd5ec
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
nnvm/docs/dev/overview.md
+1
-1
nnvm/include/nnvm/pass.h
+1
-1
No files found.
nnvm/docs/dev/overview.md
View file @
39cc9c12
...
@@ -103,7 +103,7 @@ void MyFunction() {
...
@@ -103,7 +103,7 @@ void MyFunction() {
static
auto
&
finplace_option_map
=
Op
::
GetAttr
<
FInplaceOption
>
(
"FInplaceOption"
);
static
auto
&
finplace_option_map
=
Op
::
GetAttr
<
FInplaceOption
>
(
"FInplaceOption"
);
// quick look up attribute of add, O(1) time, vector index lookup internally.
// 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.
Besides making the code minimum, this attribute store enables decentralization of projects.
...
...
nnvm/include/nnvm/pass.h
View file @
39cc9c12
...
@@ -47,7 +47,7 @@ inline Graph ApplyPass(Graph src, const std::string& pass) {
...
@@ -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
struct
PassFunctionReg
:
public
dmlc
::
FunctionRegEntryBase
<
PassFunctionReg
,
:
public
dmlc
::
FunctionRegEntryBase
<
PassFunctionReg
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment