class_docstr: A policy that outputs a constant action, for testing purposes.
class_docstr_tok: ["A","policy","that","outputs","a","constant","action",",","for","testing","purposes","."]
code: def _distribution(self, time_step, policy_state):
      raise NotImplementedError(
          "This policy outputs an action and not a distribution."
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import tensorflow
  import tensorflow_probability
  from tf_agents.bandits.policies import mixture_policy
  from tf_agents.policies import policy_saver
  from tf_agents.policies import tf_policy
  from tf_agents.specs import tensor_spec
  from tf_agents.trajectories import policy_step
  from tf_agents.trajectories import time_step
  from tf_agents.utils import test_utils
label_desc: Use image node_id 3 for calling the ConstantPolicy obj's underlying member method code with example usage: obj._distribution(time_step, policy_state) without return types