code: def test_to_categorical_with_backend_tensor(self):
      label = backend.convert_to_tensor(np.array([0, 2, 1, 3, 4]))
      expected = backend.convert_to_tensor(
          np.array(
              [
                  [1, 0, 0, 0, 0],
                  [0, 0, 1, 0, 0],
                  [0, 1, 0, 0, 0],
                  [0, 0, 0, 1, 0],
                  [0, 0, 0, 0, 1],
              ]
          )
      )
      one_hot = numerical_utils.to_categorical(label, NUM_CLASSES)
      assert backend.is_tensor(one_hot)
      self.assertAllClose(one_hot, expected)
  
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 3 for calling the TestNumericalUtils obj's underlying member method code with example usage: obj.test_to_categorical_with_backend_tensor() without return types