class_docstr: <a id="EncoderDecoder"></a>
  
  ## Combined Encoder-Decoder
code: def decode(
      self,
      memory: torch.Tensor,
      src_mask: torch.Tensor,
      tgt: torch.Tensor,
      tgt_mask: torch.Tensor,
  ):
      return self.decoder(
          self.tgt_embed(tgt), memory, src_mask, tgt_mask
      )
  
imports: import math
  import torch
  import torch.nn
  from labml_nn.utils import clone_module_list
  from .feed_forward import FeedForward
  from .mha import MultiHeadAttention
  from .positional_encoding import get_positional_encoding
label_desc: Use image node_id 4 for calling the EncoderDecoder obj's underlying member method code with example usage: obj.decode(memory, src_mask, tgt, tgt_mask) and returns: self