code: def get_all_embeddings_for_all_splits(
      self,
      dataset_dict,
      trunk_model,
      embedder_model,
      splits_to_compute_embeddings,
      collate_fn,
  ):
      embeddings_and_labels = {}
      for split_name in splits_to_compute_embeddings:
          c_f.LOGGER.info(
              "Getting embeddings for the %s split" % split_name
          )
          embeddings_and_labels[split_name] = self.get_all_embeddings(
              dataset_dict[split_name],
              trunk_model,
              embedder_model,
              collate_fn,
          )
      return embeddings_and_labels
  
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 18 for calling the BaseTester obj's underlying member method code with example usage: obj.get_all_embeddings_for_all_splits(dataset_dict, trunk_model, embedder_model, splits_to_compute_embeddings, collate_fn) and returns: embeddings_and_labels