code: def build_collator_from_name(
      name: str,
  ) -> Callable:  # pyre-ignore[24]
      """
      A utility function that returns the function handles to specific collators
      in `_COLLATORS` dictionary object based on the queried key. Used in
      `pytorchvideo_trainer.datamodule.PyTorchVideoDataModule`, etc.
  
      Arg:
          name (str): name of the qurried collators. The key should be present in
          `_COLLATORS` dictionary object
      """
      assert (
          name in _COLLATORS
      ), f"Inavalid Collator method. Available methods are {_COLLATORS.keys()}"
      return _COLLATORS[name]
  
label_desc: Use image node_id 2 for calling a global function with example usage: build_collator_from_name(name) and returns: _COLLATORS