class_docstr: A policy which always returns a fixed action.
class_docstr_tok: ["A","policy","which","always","returns","a","fixed","action","."]
code: def _get_policy_info_and_action(self, time_step):
      outer_shape = nest_utils.get_outer_shape(
          time_step, self._time_step_spec
      )
  
      if self._emit_log_probability:
          log_probability = tf.nest.map_structure(
              lambda _: tf.zeros(outer_shape, tf.float32),
              self._action_spec,
          )
          policy_info = policy_step.set_log_probability(
              self._policy_info, log_probability=log_probability
          )
      else:
          policy_info = self._policy_info
      action = tf.nest.map_structure(
          lambda t: common.replicate(t, outer_shape), self._action_value
      )
      return policy_info, action
  
file_path: agents/tf_agents/policies/fixed_policy.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from typing import Optional, Text
  import tensorflow
  import tensorflow_probability
  from tf_agents.policies import tf_policy
  from tf_agents.trajectories import policy_step
  from tf_agents.trajectories import time_step
  from tf_agents.typing import types
  from tf_agents.utils import common
  from tf_agents.utils import nest_utils
label_desc: Use image node_id 3 for calling the FixedPolicy obj's underlying member method code with example usage: obj._get_policy_info_and_action(time_step) and returns: policy_info,  action