projects
/
platform
/
upstream
/
tvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50f4c1d
)
Undefined name: Typo in variable name sotrage_order --> storage_order (#3439)
author
cclauss
<cclauss@me.com>
Thu, 27 Jun 2019 16:36:53 +0000
(18:36 +0200)
committer
Tianqi Chen
<tqchen@users.noreply.github.com>
Thu, 27 Jun 2019 16:36:53 +0000
(09:36 -0700)
Discovered via: __flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics__
nnvm/python/nnvm/frontend/onnx.py
patch
|
blob
|
history
diff --git
a/nnvm/python/nnvm/frontend/onnx.py
b/nnvm/python/nnvm/frontend/onnx.py
index
b5e294b
..
7d97873
100644
(file)
--- a/
nnvm/python/nnvm/frontend/onnx.py
+++ b/
nnvm/python/nnvm/frontend/onnx.py
@@
-31,7
+31,7
@@
def onnx_storage_order2layout(storage_order):
if storage_order not in (0, 1):
raise tvm.error.OpAttributeInvalid('Mode of storage_order must be either 0 or 1')
- return 'NCHW' if s
ot
rage_order == 0 else 'NHWC'
+ return 'NCHW' if s
to
rage_order == 0 else 'NHWC'
class OnnxOpConverter(object):