Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
retrigger build
Browse files Browse the repository at this point in the history
  • Loading branch information
Roshrini committed Dec 7, 2018
1 parent 016974e commit 17b14f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/mxnet/contrib/onnx/onnx2mx/import_onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def _parse_array(self, tensor_proto):
if len(tuple(tensor_proto.dims)) > 0:
np_array = to_array(tensor_proto).reshape(tuple(tensor_proto.dims))
else:
# If onnx's params are scalar values without dims mentioned.
np_array = np.array([to_array(tensor_proto)])
return nd.array(np_array)

Expand Down

0 comments on commit 17b14f0

Please sign in to comment.