class_docstr: KerasTensor that represents legacy register_symbolic_tensor_type.
class_docstr_tok: ["KerasTensor","that","represents","legacy","register_symbolic_tensor_type","."]
code: def __init__(self, user_registered_symbolic_object):
      x = user_registered_symbolic_object
      self._user_registered_symbolic_object = x
      type_spec = UserRegisteredSpec(x.shape, x.dtype)
      name = getattr(x, "name", None)
  
      super(UserRegisteredTypeKerasTensor, self).__init__(
          type_spec, name
      )
  
imports: from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import sparse_tensor
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import type_spec
  from tensorflow.python.keras.utils import object_identity
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops.ragged import ragged_operators
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.util import nest
label_desc: Use image node_id 1 to create a new UserRegisteredTypeKerasTensor object from inherited base classes: KerasTensor with example: obj = UserRegisteredTypeKerasTensor(user_registered_symbolic_object)