sru
sru copied to clipboard
batch_first flag
Can I add a batch_first flag? And how?
hi @nankeqin, there is no batch_first option in SRU forward.
You can add a wrapper over SRU module with this option, or transpose your model input into length_first before calling SRU.