formatting
This commit is contained in:
parent
341ef458b4
commit
61110ca844
|
@ -77,7 +77,6 @@ class EncoderConfig(Config):
|
|||
self.deepnorm = False
|
||||
|
||||
|
||||
|
||||
class DecoderConfig(Config):
|
||||
def __init__(self, **kwargs):
|
||||
super().__init__(**kwargs)
|
||||
|
@ -100,8 +99,8 @@ class DecoderConfig(Config):
|
|||
self.deepnorm = False
|
||||
|
||||
|
||||
|
||||
class EncoderDecoderConfig(EncoderConfig, DecoderConfig):
|
||||
def __init__(self, **kwargs):
|
||||
super().__init__(**kwargs)
|
||||
self.share_all_embeddings = kwargs.pop("share_all_embeddings", False)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user