code: def testBadMask(self):
      input_tensor = tf.reshape(
          tf.range(12, dtype=tf.float32), shape=[3, 4]
      )
      mask = [[1, 0, 0, 1], [0, 0, 0, 0], [1, 0, 1, 1]]
      expected = [3, -1, 3]
      actual = self.evaluate(
          policy_utilities.masked_argmax(
              input_tensor, tf.constant(mask)
          )
      )
      self.assertAllEqual(actual, expected)
  
file_path: agents/tf_agents/bandits/policies/policy_utilities_test.py
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.policies import utils
  from tf_agents.specs import tensor_spec
  from tf_agents.trajectories import policy_step
  from tf_agents.utils import test_utils
label_desc: Use image node_id 2 for calling the PolicyUtilitiesTest obj's underlying member method code with example usage: obj.testBadMask() without return types