code: def _testDefaultBasic(self, dtype):
      indices = np.asarray([0, 2, -1, 1], dtype=np.int64)
      depth = 3
  
      truth = np.asarray(
          [
              [1.0, 0.0, 0.0],
              [0.0, 0.0, 1.0],
              [0.0, 0.0, 0.0],
              [0.0, 1.0, 0.0],
          ],
          dtype=dtype,
      )
  
      # axis == -1
      self._testBothOneHot(
          indices=indices, depth=depth, dtype=dtype, truth=truth
      )
  
      # axis == 0
      self._testBothOneHot(
          indices=indices,
          depth=depth,
          axis=0,
          dtype=dtype,
          truth=truth.T,
      )
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.ops import array_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 4 for calling the OneHotTest obj's underlying member method code with example usage: obj._testDefaultBasic(dtype) without return types