Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
albertz committed Sep 13, 2023
1 parent 5c99def commit 3b01151
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions returnn/tf/layers/rec.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand All @@ -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):
"""
Expand Down

0 comments on commit 3b01151

Please sign in to comment.