class_docstr: Generic fully connected network.
code: def value_function(self) -> TensorType:
      assert self._features is not None, "must call forward() first"
      if self._value_branch_separate:
          out = self._value_branch(
              self._value_branch_separate(self._last_flat_in)
          ).squeeze(1)
      else:
          out = self._value_branch(self._features).squeeze(1)
      return out
  
file_path: ray/python/ray/rllib/models/torch/fcnet.py
imports: import logging
  import numpy
  import gymnasium
  from ray.rllib.models.torch.torch_modelv2 import TorchModelV2
  from ray.rllib.models.torch.misc import SlimFC, AppendBiasLayer, normc_initializer
  from ray.rllib.utils.annotations import override
  from ray.rllib.utils.framework import try_import_torch
  from ray.rllib.utils.typing import Dict, TensorType, List, ModelConfigDict
label_desc: Use image node_id 3 for calling the FullyConnectedNetwork obj's underlying member method code with example usage: obj.value_function() and returns: out