Skip to content

Commit

Permalink
[Debugger plugin] Fix UnboundLocalError: variable tensor_shape refere…
Browse files Browse the repository at this point in the history
…nced before assigment (#1191)
  • Loading branch information
cfroehli authored and nfelt committed May 17, 2018
1 parent e893ecf commit 05c8a8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def _comm_tensor_data(device_name,
tensor_shape = UNINITIALIZED_TAG
else:
tensor_dtype = UNSUPPORTED_TAG
tensor_dtype = UNSUPPORTED_TAG
tensor_shape = UNSUPPORTED_TAG
tensor_values = NA_TAG
else:
tensor_dtype = str(tensor_value.dtype)
Expand Down

0 comments on commit 05c8a8d

Please sign in to comment.