docstr: This method returns a list of pre-trained model which can be instantiated directly from NVIDIA's NGC cloud.
  Returns:
      List of available pre-trained models.
docstr_tok: ["This","method","returns","a","list","of","pre-trained","model","which","can","be","instantiated","directly","from","NVIDIA","'s","NGC","cloud",".","Returns",":","List","of","available","pre-trained","models","."]
code: def list_available_models(cls) -> "List[PretrainedModelInfo]":
      """
      This method returns a list of pre-trained model which can be instantiated directly from NVIDIA's NGC cloud.
      Returns:
          List of available pre-trained models.
      """
      # recursively walk the subclasses to generate pretrained model info
      list_of_models = (
          model_utils.resolve_subclass_pretrained_model_info(cls)
      )
      return list_of_models
  
imports: import json
  from abc import ABC, abstractmethod
  from contextlib import ExitStack, contextmanager
  from typing import List, Optional
  import torch
  from omegaconf import DictConfig
  from tqdm import tqdm
  from nemo.collections.tts.parts.utils.helpers import OperationMode
  from nemo.core.classes import ModelPT
  from nemo.core.classes.common import PretrainedModelInfo, typecheck
  from nemo.core.neural_types.elements import AudioSignal
  from nemo.core.neural_types.neural_type import NeuralType
  from nemo.utils import logging, model_utils
label_desc: Use image node_id 2 for calling the G2PModel obj's underlying member method code with example usage: obj.list_available_models(cls) and returns: list_of_models