fix a bug which overrides the default constructed output_projection when none is
passed in
This commit is contained in:
parent
7e12b582e4
commit
adcd995595
|
@ -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