Skip to content

Commit

Permalink
RF TF-layers, fix dim cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
albertz committed Oct 12, 2023
1 parent dcd082b commit f5b894c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion returnn/tf/frontend_layers/config_entry_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def _cleanup_net_dict_value(elem):
# Dim dyn_size_ext might be Tensor[rfl.Layer],
# but now the TF engine actually wants to have Tensor[tf.Tensor].
# Reset it now. The TF engine should redefine it again.
elem.reset_raw()
elem.reset_batch_and_raw()
return elem

# Do some cleanup.
Expand Down

0 comments on commit f5b894c

Please sign in to comment.