From 3b01151bb87e6df97b5c92e1808973686c6a2350 Mon Sep 17 00:00:00 2001 From: Albert Zeyer Date: Wed, 13 Sep 2023 16:55:09 +0200 Subject: [PATCH] fix warnings --- returnn/tf/layers/rec.py | 2 ++ 1 file changed, 2 insertions(+) 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): """