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
70f0a169
Commit
70f0a169
authored
Aug 25, 2019
by
Neo Chien
Committed by
hlu1
Aug 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix code comment of operators (#3830)
parent
d05893b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
python/tvm/relay/frontend/onnx.py
+11
-5
No files found.
python/tvm/relay/frontend/onnx.py
View file @
70f0a169
...
...
@@ -222,6 +222,8 @@ class ConvTranspose(OnnxOpConverter):
class
Div
(
Elemwise
):
""" Operator converter for Divide.
"""
name
=
'divide'
...
...
@@ -307,6 +309,8 @@ class MaxPool(Pool):
custom_check
=
dimension_constraint
())(
inputs
,
attr
,
params
)
class
Mul
(
Elemwise
):
""" Operator converter for Multiply.
"""
name
=
'multiply'
...
...
@@ -495,6 +499,8 @@ class Softsign(OnnxOpConverter):
class
Sub
(
Elemwise
):
""" Operator converter for Subtract.
"""
name
=
'subtract'
...
...
@@ -768,27 +774,27 @@ class Reduce(OnnxOpConverter):
return
AttrCvt
(
cls
.
name
)(
inputs
,
attr
)
class
ReduceMax
(
Reduce
):
""" Operator converter for
Arg
Max.
""" Operator converter for
Reduce
Max.
"""
name
=
'max'
class
ReduceMin
(
Reduce
):
""" Operator converter for
ArgMax
.
""" Operator converter for
ReduceMin
.
"""
name
=
'min'
class
ReduceSum
(
Reduce
):
""" Operator converter for
ArgMax
.
""" Operator converter for
ReduceSum
.
"""
name
=
'sum'
class
ReduceMean
(
Reduce
):
""" Operator converter for
ArgMax
.
""" Operator converter for
ReduceMean
.
"""
name
=
'mean'
class
ReduceProd
(
Reduce
):
""" Operator converter for
ArgMax
.
""" Operator converter for
ReduceProd
.
"""
name
=
'prod'
...
...
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