code: def testComputeActionFeasibility(self):
      constraint_net = DummyNet(
          self._observation_spec, self._action_spec
      )
  
      quantile_constraint = constraints.QuantileConstraint(
          self._time_step_spec,
          self._action_spec,
          constraint_network=constraint_net,
      )
      init_op = quantile_constraint.initialize()
      if not tf.executing_eagerly():
          with self.cached_session() as sess:
              common.initialize_uninitialized_variables(sess)
              self.assertIsNone(sess.run(init_op))
  
      observation = tf.constant([[1, 2], [3, 4]], dtype=tf.float32)
      feasibility_prob = quantile_constraint(observation)
      self.assertAllGreaterEqual(self.evaluate(feasibility_prob), 0.0)
      self.assertAllLessEqual(self.evaluate(feasibility_prob), 1.0)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow
  from tf_agents.bandits.networks import global_and_arm_feature_network
  from tf_agents.bandits.policies import constraints
  from tf_agents.bandits.specs import utils
  from tf_agents.networks import network
  from tf_agents.specs import tensor_spec
  from tf_agents.trajectories import time_step
  from tf_agents.utils import common
label_desc: Use image node_id 3 for calling the QuantileConstraintTest obj's underlying member method code with example usage: obj.testComputeActionFeasibility() without return types