Skip to content

Commit 05c8a8d

Browse files
cfroehlinfelt
authored andcommitted
[Debugger plugin] Fix UnboundLocalError: variable tensor_shape referenced before assigment (#1191)
1 parent e893ecf commit 05c8a8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorboard/plugins/debugger/interactive_debugger_server_lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def _comm_tensor_data(device_name,
9696
tensor_shape = UNINITIALIZED_TAG
9797
else:
9898
tensor_dtype = UNSUPPORTED_TAG
99-
tensor_dtype = UNSUPPORTED_TAG
99+
tensor_shape = UNSUPPORTED_TAG
100100
tensor_values = NA_TAG
101101
else:
102102
tensor_dtype = str(tensor_value.dtype)

0 commit comments

Comments
 (0)