You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: Keep use_cudnn in nested RNNs in Bidirectional layer (#21534)
- the use_cudnn attribute of RNNs such as GRU/LSTM is not serialized
and Bidirectional lost it when creating nested copies for forward and
backward RNN layers
- let's pass it explicitly to the nested layers as it should not be
serialized
- do nothing for other RNN layers where it's not defined
0 commit comments