Merge pull request #9 from MatthewChang/fix_output_projection_decoder
fix a bug that overrides the default constructed output_projection
This commit is contained in:
commit
21ed0056d7
|
@ -260,8 +260,6 @@ class Decoder(nn.Module):
|
||||||
else:
|
else:
|
||||||
self.layer_norm = None
|
self.layer_norm = None
|
||||||
|
|
||||||
self.output_projection = output_projection
|
|
||||||
|
|
||||||
self.self_attn_relative_position = None
|
self.self_attn_relative_position = None
|
||||||
self.cross_attn_relative_position = None
|
self.cross_attn_relative_position = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user