diff --git a/returnn/tf/layers/rec.py b/returnn/tf/layers/rec.py index 5f2ef943c9..957aec43b2 100644 --- a/returnn/tf/layers/rec.py +++ b/returnn/tf/layers/rec.py @@ -8360,6 +8360,7 @@ def get_out_data_from_opts(cls, name, network, add_to_input=False, sources=(), * name=name, network=network, sources=sources, **kwargs ) + # noinspection PyMethodOverriding @classmethod def get_rec_initial_extra_outputs(cls, batch_dim, rec_layer, network, **kwargs): """ @@ -8370,6 +8371,7 @@ def get_rec_initial_extra_outputs(cls, batch_dim, rec_layer, network, **kwargs): """ return {"position": tf.constant(-1, shape=(), dtype=tf.int32)} + # noinspection PyMethodOverriding @classmethod def get_rec_initial_extra_outputs_shape_invariants(cls, rec_layer, network, **kwargs): """