Skip to content

Commit

Permalink
Outdated renaming for flatten in ONNX converter (apache#2843)
Browse files Browse the repository at this point in the history
  • Loading branch information
slyubomirsky authored and wweic committed Apr 11, 2019
1 parent bb9fe3a commit 9296f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/relay/frontend/onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ def _get_convert_map(opset):
# 'InstanceNormalization'
# 'LpNormalization'
'Dropout': AttrCvt('dropout', {'ratio': 'rate'}, ignores=['is_test']),
'Flatten': Renamer('flatten'),
'Flatten': Renamer('batch_flatten'),
'LRN': LRN.get_converter(opset),

# defs/reduction
Expand Down

0 comments on commit 9296f72

Please sign in to comment.