We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a870004 commit 0727228Copy full SHA for 0727228
nn/base.py
@@ -231,10 +231,13 @@ def verify_out_shape(self, out_shape: OutShapeType):
231
This does not add out_shape to the layer dict as we already have that automatically.
232
Thus, this is purely for verification here on returnn-common side.
233
234
+ Also, we are more relaxed here. We currently ignore missing implicit dims.
235
+ https://github.com/rwth-i6/returnn/issues/1153
236
+
237
:return: self, such that you can write this as a chained op
238
:rtype: Tensor
239
"""
- self.data.verify_out_shape(out_shape)
240
+ self.data.verify_out_shape(out_shape, allow_missing_implicit_dims=True)
241
return self
242
243
def _assign_parent_name_ctx(self, *, ref_ctx: nn.NameCtx):
0 commit comments