RuntimeError Traceback (most recent call last) <ipython-input-4-072f2740f1de> in <module>() 25 26 # The given dimensions dim0 and dim1 are swapped. ---> 27 inputs = inputs.transpose(3, dim1=1, dim2=2) 28 # Propagate input through RNN 29 # Input: (seq_len, batch_size, input_size) when batch_first=False (default) RuntimeError: transpose() got an unexpected keyword argument 'dim2'
Activity