class_docstr: A mixin class for all pre-trained classes to inherit.
      
class_docstr_tok: ["A","mixin","class","for","all","pre-trained","classes","to","inherit","."]
docstr: Find the corresponding variable given the specified name.
          
docstr_tok: ["Find","the","corresponding","variable","given","the","specified","name","."]
code: def _name_to_variable(self, name):
      r"""Find the corresponding variable given the specified name."""
      pointer = self
      for m_name in name.split("."):
          if m_name.isdigit():
              num = int(m_name)
              pointer = pointer[num]  # type: ignore
          else:
              pointer = getattr(pointer, m_name)
      return pointer
  
imports: import os
  import sys
  from abc import ABCMeta, abstractmethod
  from pathlib import Path
  from texar.tf.data.data_utils import maybe_download
  from texar.tf.hyperparams import HParams
  from texar.tf.module_base import ModuleBase
label_desc: Use image node_id 2 for calling the PretrainedMixin obj's underlying member method code with example usage: obj._name_to_variable(name) and returns: pointer