class_docstr: Base class inherited by all model classes.
  
  A model class implements interfaces that are compatible with
  :tf_main:`TF Estimator <estimator/Estimator>`. In particular,
  :meth:`_build` implements the
  :tf_main:`model_fn <estimator/Estimator#__init__>` interface; and
  :meth:`get_input_fn` is for the :attr:`input_fn` interface.
  
  .. document private functions
  .. automethod:: _build
docstr: Used for the :tf_main:`model_fn <estimator/Estimator#__init__>`
  argument when constructing
  :tf_main:`tf.estimator.Estimator <estimator/Estimator>`.
code: def __call__(self, features, labels, params, mode, config=None):
      """Used for the :tf_main:`model_fn <estimator/Estimator#__init__>`
      argument when constructing
      :tf_main:`tf.estimator.Estimator <estimator/Estimator>`.
      """
      return self._build(features, labels, params, mode, config=config)
  
file_path: texar/texar/tf/models/model_base.py
imports: from texar.tf.hyperparams import HParams
label_desc: Use image node_id 3 for calling the ModelBase obj's underlying member method code with example usage: obj.__call__(features, labels, params, mode, config) and returns: self