Skip to content

Commit

Permalink
Remove int32 cast from StructureExporter.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 252976884
  • Loading branch information
eladeban authored and mn-robot committed Jun 13, 2019
1 parent 85f3ca7 commit 52f4fac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions morph_net/tools/structure_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ def __init__(self,
tf.logging.warning('No regularizer found for: %s', op.name)
continue

self._tensors[rename_fn(op.name)] = tf.cast(op_regularizer.alive_vector,
tf.int32)
self._tensors[rename_fn(op.name)] = op_regularizer.alive_vector

@property
def tensors(self):
Expand Down

0 comments on commit 52f4fac

Please sign in to comment.