Skip to content

Commit 42566fe

Browse files
authored
compile_tf_graph: use absolute layer names (#546)
1 parent ed1d97a commit 42566fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/compile_tf_graph.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ def main(argv):
701701
continue
702702
if layer.output.batch_dim_axis is None:
703703
continue
704-
with layer.cls_layer_scope(layer.name):
704+
with layer.cls_layer_scope(layer.get_absolute_name()):
705705
tf.identity(layer.output.get_placeholder_as_batch_major(), name="output_batch_major")
706706

707707
tf.group(*network.get_post_control_dependencies(), name="post_control_dependencies")

0 commit comments

Comments
 (0)