class_docstr: Extension of standard TFModel to provide DDPG action- and q-outputs.
  
  Data flow:
      obs -> forward() -> model_out
      model_out -> get_policy_output() -> deterministic actions
      model_out, actions -> get_q_values() -> Q(s, a)
      model_out, actions -> get_twin_q_values() -> Q_twin(s, a)
  
  Note that this class by itself is not a valid model unless you
  implement forward() in a subclass.
docstr: Return the action output for the most recent forward pass.
  
  This outputs the support for pi(s). For continuous action spaces, this
  is the action directly.
  
  Args:
      model_out: obs embeddings from the model layers, of shape
          [BATCH_SIZE, num_outputs].
  
  Returns:
      tensor of shape [BATCH_SIZE, action_out_size]
docstr_tok: ["Return","the","action","output","for","the","most","recent","forward","pass",".","This","outputs","the","support","for","pi","(","s",")",".","For","continuous","action","spaces",",","this","is","the","action","directly",".","Args",":","model_out",":","obs","embeddings","from","the","model","layers",",","of","shape","[","BATCH_SIZE",",","num_outputs","]",".","Returns",":","tensor","of","shape","[","BATCH_SIZE",",","action_out_size","]"]
code: def get_policy_output(self, model_out: TensorType) -> TensorType:
      """Return the action output for the most recent forward pass.
  
      This outputs the support for pi(s). For continuous action spaces, this
      is the action directly.
  
      Args:
          model_out: obs embeddings from the model layers, of shape
              [BATCH_SIZE, num_outputs].
  
      Returns:
          tensor of shape [BATCH_SIZE, action_out_size]
      """
      return self.policy_model(model_out)
  
file_path: ray/rllib_contrib/ddpg/src/rllib_ddpg/ddpg/ddpg_tf_model.py
imports: from typing import List, Optional
  import gymnasium
  import numpy
  from ray.rllib.models.tf.tf_modelv2 import TFModelV2
  from ray.rllib.utils.framework import try_import_tf
  from ray.rllib.utils.typing import ModelConfigDict, TensorType
label_desc: Use image node_id 4 for calling the DDPGTFModel obj's underlying member method code with example usage: obj.get_policy_output(model_out) and returns: self