"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "93bd2f7099d289c00441a84da71e02331b8d4bd7"
Unverified Commit 63cc30e7 authored by MS Kim(tony9402)'s avatar MS Kim(tony9402) Committed by GitHub
Browse files

Fix Typo (#24559)

parent ae454f41
...@@ -770,7 +770,7 @@ class FSMTDecoder(nn.Module): ...@@ -770,7 +770,7 @@ class FSMTDecoder(nn.Module):
x += positions x += positions
x = nn.functional.dropout(x, p=self.dropout, training=self.training) x = nn.functional.dropout(x, p=self.dropout, training=self.training)
# Convert to FSMT output format: (seq_len, BS, model_dim) -> (BS, seq_len, model_dim) # Convert to FSMT output format: (BS, seq_len, model_dim) -> (seq_len, BS, model_dim)
x = x.transpose(0, 1) x = x.transpose(0, 1)
encoder_hidden_states = encoder_hidden_states.transpose(0, 1) encoder_hidden_states = encoder_hidden_states.transpose(0, 1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment