def get_transformer_encoder_decoder(num_layers=<NUM_LIT:2>,<EOL>num_heads=<NUM_LIT:8>, scaled=True,<EOL>units=<NUM_LIT>, hidden_size=<NUM_LIT>, dropout=<NUM_LIT:0.0>, use_residual=True,<EOL>max_src_length=<NUM_LIT:50>, max_tgt_length=<NUM_LIT:50>,<EOL>weight_initializer=None, bias_initializer='<STR_LIT>',<EOL>prefix='<STR_LIT>', params=None):
encoder = TransformerEncoder(num_layers=num_layers,<EOL>num_heads=num_heads,<EOL>max_length=max_src_length,<EOL>units=units,<EOL>hidden_size=hidden_size,<EOL>dropout=dropout,<EOL>scaled=scaled,<EOL>use_residual=use_residual,<EOL>weight_initializer=weight_initializer,<EOL>bias_initializer=bias_initializer,<EOL>prefix=prefix + '<STR_LIT>', params=params)<EOL>decoder = TransformerDecoder(num_layers=num_layers,<EOL>num_heads=num_heads,<EOL>max_length=max_tgt_length,<EOL>units=units,<EOL>hidden_size=hidden_size,<EOL>dropout=dropout,<EOL>scaled=scaled,<EOL>use_residual=use_residual,<EOL>weight_initializer=weight_initializer,<EOL>bias_initializer=bias_initializer,<EOL>prefix=prefix + '<STR_LIT>', params=params)<EOL>return encoder, decoder<EOL>
Build a pair of Parallel Transformer encoder/decoder

    Parameters
    ----------
    num_layers : int
    num_heads : int
    scaled : bool
    units : int
    hidden_size : int
    dropout : float
    use_residual : bool
    max_src_length : int
    max_tgt_length : int
    weight_initializer : mx.init.Initializer or None
    bias_initializer : mx.init.Initializer or None
    prefix : str, default 'transformer_'
        Prefix for name of `Block`s.
    params : Parameter or None
        Container for weight sharing between layers.
        Created if `None`.

    Returns
    -------
    encoder : TransformerEncoder
    decoder :TransformerDecoder