Skip to content

Commit a849579

Browse files
committed
DimensionTag TODO declare_same_as outdated size_placeholder assign
1 parent 3b7bdfa commit a849579

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
@@ -465,6 +465,7 @@ def declare_same_as(self, other):
465465
# maybe we can overtake the size_placeholder now.
466466
if self.same_as.dyn_size is not None and self.src_data:
467467
assert isinstance(self.src_axis, int)
468+
# TODO Is this still needed? also looks wrong
468469
# Maybe it changed in the meanwhile, so check.
469470
if self.src_data.get_dim_tag(self.src_axis).description == self.description:
470471
self.src_data.size_placeholder[

0 commit comments

Comments
 (0)