Skip to content

Commit

Permalink
ResizeLayer, small fix for dim tag
Browse files Browse the repository at this point in the history
  • Loading branch information
albertz committed Dec 6, 2022
1 parent 4694a45 commit f494763
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions returnn/tf/layers/basic.py
Expand Up @@ -7665,6 +7665,7 @@ def __init__(self, factor, axis, out_dim=None, kind="nn", fill_value=None, fill_
else:
raise TypeError("%s: unexpected factor_t %s" % (self, factor_t))
self.output.dim_tags[axis].dyn_size_ext = dyn_size_ext
self.output.dim_tags[axis].set_tag_on_size_tensor(dyn_size_ext.placeholder, batch=dyn_size_ext.batch)
self.output.placeholder = x

def get_dep_layers(self):
Expand Down

0 comments on commit f494763

Please sign in to comment.