code: def test_to_categorial_without_num_classes(self):
      label = [0, 2, 5]
      one_hot = numerical_utils.to_categorical(label)
      self.assertEqual(one_hot.shape, (3, 5 + 1))
  
file_path: keras/keras/utils/numerical_utils_test.py
imports: import numpy
  from absl.testing import parameterized
  from keras import backend
  from keras import testing
  from keras.utils import numerical_utils
label_desc: Use image node_id 2 for calling the TestNumericalUtils obj's underlying member method code with example usage: obj.test_to_categorial_without_num_classes() without return types