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
I think it's the cat call that's failing, not the residual connection. Is that correct?
Cat is on the sequence_casts list so it should take all inputs and cast them to the widest type (in this case fp32).
I want to insert residual layer to neural net.
But I notice below bug in amp.
Out += torch.cat((shortcut, padding),1)
RuntimeError: Expected object of scalar type Half but got scalar type Float for sequence element 1 in sequence argument at position #1 ‘tensors’
The text was updated successfully, but these errors were encountered: