From 61110ca84460aad25cfa04c72d599d316398c27c Mon Sep 17 00:00:00 2001 From: Alexander Goryunov Date: Mon, 10 Jul 2023 20:57:42 +0300 Subject: [PATCH] formatting --- torchscale/architecture/config.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/torchscale/architecture/config.py b/torchscale/architecture/config.py index 14e7bfc..74fa3f9 100644 --- a/torchscale/architecture/config.py +++ b/torchscale/architecture/config.py @@ -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) +