code: def get_embeddings_for_eval(
      self, trunk_model, embedder_model, input_imgs
  ):
      input_imgs = c_f.to_device(
          input_imgs, device=self.data_device, dtype=self.dtype
      )
      trunk_output = trunk_model(input_imgs)
      if self.use_trunk_output:
          return trunk_output
      return embedder_model(trunk_output)
  
imports: from collections import defaultdict
  import torch
  import tqdm
  from ..utils import common_functions
  from ..utils import inference
  from ..utils.accuracy_calculator import AccuracyCalculator
label_desc: Use image node_id 8 for calling the BaseTester obj's underlying member method code with example usage: obj.get_embeddings_for_eval(trunk_model, embedder_model, input_imgs) and returns: embedder_model, trunk_output