Skip to content

Commit 3b7bdfa

Browse files
committed
DimensionTag TODO declare_same_as self_same_as dyn_size_ext assign safe
1 parent 9e6977c commit 3b7bdfa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

returnn/tf/util/data.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ def declare_same_as(self, other):
444444
return
445445
self_same_as.same_as = other_same_base
446446
self_same_as._same_as_tb = traceback.extract_stack()
447+
# TODO this is unsafe, slightly incorrect...
447448
if self_same_as.dyn_size_ext is None:
448449
self_same_as.dyn_size_ext = other_same_base.dyn_size_ext
449450
elif other_same_base.dyn_size_ext is None:

0 commit comments

Comments
 (0)