class_docstr: Tacotron 2 Model that is used to generate mel spectrograms from text
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.
      """
      list_of_models = []
      model = PretrainedModelInfo(
          pretrained_model_name="tts_en_tacotron2",
          location="https://api.ngc.nvidia.com/v2/models/nvidia/nemo/tts_en_tacotron2/versions/1.10.0/files/tts_en_tacotron2.nemo",
          description="This model is trained on LJSpeech sampled at 22050Hz, and can be used to generate female English voices with an American accent.",
          class_=cls,
          aliases=["Tacotron2-22050Hz"],
      )
      list_of_models.append(model)
      return list_of_models
  
imports: import contextlib
  from dataclasses import dataclass, field
  from typing import Any, Dict, List, Optional
  import torch
  from hydra.utils import instantiate
  from omegaconf import MISSING, DictConfig, OmegaConf, open_dict
  from omegaconf.errors import ConfigAttributeError
  from pytorch_lightning.loggers import TensorBoardLogger, WandbLogger
  from torch import nn
  from nemo.collections.common.parts.preprocessing import parsers
  from nemo.collections.tts.losses.tacotron2loss import Tacotron2Loss
  from nemo.collections.tts.models.base import SpectrogramGenerator
  from nemo.collections.tts.parts.utils.helpers import g2p_backward_compatible_support, get_mask_from_lengths, tacotron2_log_to_tb_func, tacotron2_log_to_wandb_func
  from nemo.core.classes.common import PretrainedModelInfo, typecheck
  from nemo.core.neural_types.elements import AudioSignal, EmbeddedTextType, LengthsType, LogitsType, MelSpectrogramType, SequenceToSequenceAlignmentType
  from nemo.core.neural_types.neural_type import NeuralType
  from nemo.utils import logging, model_utils
label_desc: Use image node_id 16 for calling the Tacotron2Model obj's underlying member method code with example usage: obj.list_available_models(cls) and returns: list_of_models