docstr: Returns the probability of input actions being feasible.
docstr_tok: ["Returns","the","probability","of","input","actions","being","feasible","."]
code: def __call__(self, observation, actions=None):
      """Returns the probability of input actions being feasible."""
      if actions is None:
          actions = tf.range(
              self._action_spec.minimum, self._action_spec.maximum + 1
          )
          actions = tf.reshape(actions, [1, -1])
          actions = tf.tile(actions, [self.batch_size, 1])
      feasibility_prob = tf.cast(
          tf.greater(actions, self.threshold), tf.float32
      )
      return feasibility_prob
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import tensorflow
  from tf_agents.bandits.metrics import tf_metrics
  from tf_agents.bandits.policies import constraints
  from tf_agents.specs import tensor_spec
  from tf_agents.trajectories import time_step
  from tf_agents.trajectories import trajectory
label_desc: Use image node_id 2 for calling the SimpleThresholdConstraint obj's underlying member method code with example usage: obj.__call__(observation, actions) and returns: feasibility_prob