type hints
This commit is contained in:
parent
a2063b7000
commit
341ef458b4
|
@ -11,7 +11,7 @@ from torchscale.architecture.encoder import Encoder
|
||||||
class EncoderDecoder(nn.Module):
|
class EncoderDecoder(nn.Module):
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
args,
|
args: EncoderDecoderConfig,
|
||||||
encoder_embed_tokens=None,
|
encoder_embed_tokens=None,
|
||||||
encoder_embed_positions=None,
|
encoder_embed_positions=None,
|
||||||
decoder_embed_tokens=None,
|
decoder_embed_tokens=None,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user