code: def testFloatInt32Output(self):
      x = np.asarray(100 * np.random.randn(200), dtype=np.float32)
      expected_values = x.argmax()
      with self.session():
          ans = math_ops.argmax(x, axis=0, output_type=dtypes.int32)
          tf_ans = self.evaluate(ans)
          self.assertEqual(np.int32, tf_ans.dtype)
          # The values are equal when comparing int32 to int64 because
          # the values don't have a range that exceeds 32-bit integers.
          self.assertAllEqual(tf_ans, expected_values)
      expected_values = x.argmin()
      with self.session():
          ans = math_ops.argmin(x, axis=0, output_type=dtypes.int32)
          tf_ans = self.evaluate(ans)
          self.assertEqual(np.int32, tf_ans.dtype)
          self.assertAllEqual(tf_ans, expected_values)
  
imports: import functools
  from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 7 for calling the ArgMaxTest obj's underlying member method code with example usage: obj.testFloatInt32Output() without return types