Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
albertz committed Feb 3, 2023
1 parent eb46884 commit fc861be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions returnn/tf/layers/rec.py
Original file line number Diff line number Diff line change
Expand Up @@ -972,8 +972,8 @@ def _get_output_cell(self, cell):
)
self._last_hidden_state = final_state
elif rnn_contrib and isinstance(
cell, (rnn_contrib.FusedRNNCell, rnn_contrib.LSTMBlockWrapper)
): # noqa # e.g. LSTMBlockFusedCell
cell, (rnn_contrib.FusedRNNCell, rnn_contrib.LSTMBlockWrapper) # noqa # e.g. LSTMBlockFusedCell
):
# Will get (time,batch,ydim).
assert self._max_seq_len is None
y, final_state = cell(
Expand Down

0 comments on commit fc861be

Please sign in to comment.