code: def load_pickle_config(name: str, clazz: Type[T]) -> T:
      loaded_obj = torch_package_importer.load_pickle("__configs", name)
      assert isinstance(
          loaded_obj, clazz
      ), f"The loaded config {type(loaded_obj)} is not of type {clazz}"
      return loaded_obj
  
file_path: torchrec/torchrec/inference/model_packager.py
imports: import abc
  from pathlib import Path
  from typing import Any, BinaryIO, Dict, List, Type, TypeVar, Union
  import torch
  from torch.package import PackageExporter
  from torchrec.inference.modules import PredictFactory
label_desc: Use image node_id 2 for calling a global function with example usage: load_pickle_config(name, clazz) and returns: loaded_obj