class_docstr: Base class inheritted by all Q net classes. A Q net takes in states
  and outputs Q value of actions.
  
  Args:
      network (optional): A network that takes in state and returns
          Q values. For example, an instance of subclass
          of :class:`~texar.tf.modules.FeedForwardNetworkBase`. If `None`,
          a network is created as specified in :attr:`hparams`.
      network_kwargs (dict, optional): Keyword arguments for network
          constructor.
          Note that the `hparams` argument for network
          constructor is specified in the "network_hparams" field of
          :attr:`hparams` and should not be included in `network_kwargs`.
          Ignored if :attr:`network` is given.
      hparams (dict or HParams, optional): Hyperparameters. Missing
          hyperparamerter will be set to default values. See
          :meth:`default_hparams` for the hyperparameter sturcture and
          default values.
class_docstr_tok: ["Base","class","inheritted","by","all","Q","net","classes",".","A","Q","net","takes","in","states","and","outputs","Q","value","of","actions",".","Args",":","network","(","optional",")",":","A","network","that","takes","in","state","and","returns","Q","values",".","For","example",",","an","instance","of","subclass","of",":","class",":","`","~texar.tf.modules.FeedForwardNetworkBase","`",".","If","`","None","`",",","a","network","is","created","as","specified","in",":","attr",":","`","hparams","`",".","network_kwargs","(","dict",",","optional",")",":","Keyword","arguments","for","network","constructor",".","Note","that","the","`","hparams","`","argument","for","network","constructor","is","specified","in","the","``","network_hparams","''","field","of",":","attr",":","`","hparams","`","and","should","not","be","included","in","`","network_kwargs","`",".","Ignored","if",":","attr",":","`","network","`","is","given",".","hparams","(","dict","or","HParams",",","optional",")",":","Hyperparameters",".","Missing","hyperparamerter","will","be","set","to","default","values",".","See",":","meth",":","`","default_hparams","`","for","the","hyperparameter","sturcture","and","default","values","."]
docstr: The network.
          
docstr_tok: ["The","network","."]
code: def network(self):
      """The network."""
      return self._network
  
file_path: texar/texar/tf/modules/qnets/qnets.py
imports: import numpy
  import tensorflow
  from texar.tf.module_base import ModuleBase
  from texar.tf.agents.agent_utils import Space
  from texar.tf.utils import utils
label_desc: Use image node_id 5 for calling the QNetBase obj's underlying member method code with example usage: obj.network() and returns: self