code: def _testTieBreaking(self, dtype):
      x = np.zeros(200, dtype=dtype)
  
      # Check that argmin and argmax match numpy along the primary axis for
      # breaking ties.
      self._testBothArg(math_ops.argmax, x, 0, x.argmax())
      self._testBothArg(math_ops.argmin, x, 0, x.argmin())
  
      # Check that argmin and argmax match numpy along axis=1 for
      # breaking ties.
      x = np.array(
          [[0, 0, 1, 1], [1, 1, 0, 0], [0, 1, 0, 1]], dtype=dtype
      )
      self._testBothArg(math_ops.argmax, x, 1, x.argmax(axis=1))
      self._testBothArg(math_ops.argmin, x, 1, x.argmin(axis=1))
  
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 4 for calling the ArgMaxTest obj's underlying member method code with example usage: obj._testTieBreaking(dtype) without return types