forked from apache/tvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DOCS][FRONTEND] Modify from_mxnet to also return params, update docs (…
- Loading branch information
1 parent
a3ca64b
commit d2bdc89
Showing
28 changed files
with
224 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
nnvm.compiler | ||
------------- | ||
|
||
.. automodule:: nnvm.compiler | ||
|
||
.. autofunction:: nnvm.compiler.build | ||
|
||
.. autofunction:: nnvm.compiler.build_config | ||
|
||
.. autofunction:: nnvm.compiler.optimize | ||
|
||
.. automodule:: nnvm.compiler.graph_util | ||
:members: | ||
|
||
.. automodule:: nnvm.compiler.graph_attr | ||
:members: | ||
|
||
.. automodule:: nnvm.compiler.compile_engine | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
nnvm.frontend | ||
------------- | ||
|
||
.. automodule:: nnvm.frontend | ||
|
||
|
||
.. autofunction:: nnvm.frontend.from_mxnet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
nnvm.graph | ||
---------- | ||
.. automodule:: nnvm.graph | ||
|
||
.. autofunction:: nnvm.graph.create | ||
|
||
.. autoclass:: nnvm.graph.Graph | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Python API | ||
========== | ||
|
||
This document contains the python API to NNVM compiler toolchain. | ||
For user | ||
|
||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
compiler | ||
frontend | ||
runtime | ||
symbol | ||
graph | ||
top |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
nnvm.runtime | ||
------------ | ||
.. automodule:: nnvm.runtime | ||
|
||
.. autofunction:: nnvm.runtime.create | ||
|
||
.. autoclass:: nnvm.runtime.Module | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
nnvm.symbol | ||
----------- | ||
.. automodule:: nnvm.symbol | ||
|
||
.. autoclass:: nnvm.symbol.Symbol | ||
|
||
.. autofunction:: nnvm.symbol.Group |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
nnvm.top | ||
-------- | ||
.. automodule:: nnvm.top | ||
|
||
.. autofunction:: register_compute | ||
|
||
.. autofunction:: register_schedule | ||
|
||
.. autofunction:: register_pattern | ||
|
||
|
||
.. autoclass:: nnvm.top.AttrDict | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,5 @@ Contents | |
self | ||
top | ||
tutorials/index | ||
api/python/index | ||
dev/index |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
"""Frontend package.""" | ||
"""NNVM frontends.""" | ||
from __future__ import absolute_import | ||
from .mxnet import from_mxnet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
"""Declaration about Tensor operators""" | ||
"""Tensor operator property registry | ||
Provide information to lower and schedule tensor operators. | ||
""" | ||
from .attr_dict import AttrDict | ||
from . import tensor | ||
from . import nn | ||
from . import transform | ||
from . import reduction | ||
|
||
from .registry import OpPattern | ||
from .registry import register_compute, register_schedule, register_pattern |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.