code: def generate(self, seq_in, seq_out_start, seq_len, **kwargs):
      enc_kwargs, dec_kwargs, kwargs = extract_and_set_enc_dec_kwargs(
          kwargs
      )
      encodings = self.enc(seq_in, return_encodings=True, **enc_kwargs)
      return self.dec.generate(
          seq_out_start,
          seq_len,
          context=encodings,
          **{**dec_kwargs, **kwargs},
      )
  
file_path: performer-pytorch/performer_pytorch/performer_enc_dec.py
imports: import re
  import torch
  from torch import nn
  from performer_pytorch.performer_pytorch import PerformerLM
  from performer_pytorch.autoregressive_wrapper import AutoregressiveWrapper
label_desc: Use image node_id 2 for calling the PerformerEncDec obj's underlying member method code with example usage: obj.generate(seq_in, seq_out_start, seq_len) and returns: self