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

Commit

Permalink
Fix use-before-assignment in convert_dot (#13511)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhipeng-jia authored and nswamy committed Dec 8, 2018
1 parent 4f61c32 commit 7d74452
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/mxnet/contrib/onnx/mx2onnx/_op_translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,8 @@ def convert_dot(node, **kwargs):
MatMul and Transpose operators based on the values set for
transpose_a, transpose_b attributes."""
name, input_nodes, attrs = get_inputs(node, kwargs)
input_node_a = input_nodes[0]
input_node_b = input_nodes[1]

trans_a_node = None
trans_b_node = None
Expand Down

0 comments on commit 7d74452

Please sign in to comment.