docstr: Args:
      obs: An float32 tensor of shape ([B] + observation_space).
           E.g. [B, C, H, W] in atari.
docstr_tok: ["Args",":","obs",":","An","float32","tensor","of","shape","(","[","B","]","+","observation_space",")",".","E.g",".","[","B",",","C",",","H",",","W","]","in","atari","."]
code: def value(self, obs):
      """
      Args:
          obs: An float32 tensor of shape ([B] + observation_space).
               E.g. [B, C, H, W] in atari.
      """
      values = self.model.value(obs)
      return values
  
file_path: PARL/parl/algorithms/paddle/a2c.py
imports: import parl
  import paddle
  import paddle.nn.functional
  from paddle.distribution import Categorical
  from parl.utils.utils import check_model_method
  import numpy
label_desc: Use image node_id 5 for calling the A2C obj's underlying member method code with example usage: obj.value(obs) and returns: values