code: def gen_model(self, input_dim, right_context_length):
      emformer = Emformer(
          input_dim,
          8,
          256,
          3,
          4,
          left_context_length=30,
          right_context_length=right_context_length,
          max_memory_size=1,
      ).to(device=self.device, dtype=self.dtype)
      return emformer
  
file_path: audio/test/torchaudio_unittest/models/emformer/emformer_test_impl.py
imports: from abc import ABC, abstractmethod
  import torch
  from torchaudio.models import Emformer
  from torchaudio_unittest.common_utils import TestBaseMixin, torch_script
label_desc: Use image node_id 1 for calling the EmformerTestImpl obj's underlying member method code with example usage: obj.gen_model(input_dim, right_context_length) and returns: emformer