code: def get_trainer(trainer_name: str) -> Callable[..., Any]:
      """Returns trainer given its name."""
      if trainer_name == "vivit_trainer":
          return vivit_trainer.train
      raise ValueError(f"Unsupported trainer: {trainer_name}.")
  
file_path: scenic/scenic/projects/vivit/main.py
imports: from typing import Any, Callable
  from absl import flags
  from clu import metric_writers
  import jax
  import jax.numpy
  import ml_collections
  from scenic import app
  from scenic.projects.vivit import model
  from scenic.projects.vivit import trainer
  from scenic.train_lib_deprecated import train_utils
label_desc: Use image node_id 1 for calling a global function with example usage: get_trainer(trainer_name) and returns: vivit_trainer