code: def test_invalid_usage(self):
      x = keras_tensor.KerasTensor(shape=(3,), dtype="float32")
      with self.assertRaisesRegex(
          ValueError, "doesn't have any actual numerical value"
      ):
          np.array(x)
  
      if backend.backend() == "jax":
          from jax import numpy as jnp
  
          with self.assertRaisesRegex(
              ValueError, "cannot be used as input to a JAX function"
          ):
              jnp.array(x)
  
      with self.assertRaisesRegex(
          ValueError, "cannot be used as input to a TensorFlow function"
      ):
          tf.convert_to_tensor(x)
  
imports: from unittest.mock import Mock
  from unittest.mock import patch
  import numpy
  import tensorflow
  from keras import backend
  from keras import ops
  from keras import testing
  from keras.backend.common import keras_tensor
label_desc: Use image node_id 3 for calling the KerasTensorTest obj's underlying member method code with example usage: obj.test_invalid_usage() without return types