Skip to content

Commit 4c0e54c

Browse files
eladebanmn-robot
authored andcommitted
Remove int32 cast from StructureExporter.
PiperOrigin-RevId: 252976884
1 parent 85f3ca7 commit 4c0e54c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: morph_net/tools/structure_exporter.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ def __init__(self,
7070
tf.logging.warning('No regularizer found for: %s', op.name)
7171
continue
7272

73-
self._tensors[rename_fn(op.name)] = tf.cast(op_regularizer.alive_vector,
74-
tf.int32)
73+
self._tensors[rename_fn(op.name)] = op_regularizer.alive_vector
7574

7675
@property
7776
def tensors(self):

0 commit comments

Comments
 (0)