class_docstr: Represents the type of the elements in a `Tensor`.
  
  `DType`'s are used to specify the output data type for operations which
  require it, or to inspect the data type of existing `Tensor`'s.
  
  Examples:
  
  >>> tf.constant(1, dtype=tf.int64)
  <tf.Tensor: shape=(), dtype=int64, numpy=1>
  >>> tf.constant(1.0).dtype
  tf.float32
  
  See `tf.dtypes` for a complete list of `DType`'s defined.
class_docstr_tok: ["Represents","the","type","of","the","elements","in","a","`","Tensor","`",".","`","DType","`","'s","are","used","to","specify","the","output","data","type","for","operations","which","require","it",",","or","to","inspect","the","data","type","of","existing","`","Tensor","`","'s",".","Examples",":",">",">",">","tf.constant","(","1",",","dtype=tf.int64",")","<","tf.Tensor",":","shape=","(",")",",","dtype=int64",",","numpy=1",">",">",">",">","tf.constant","(","1.0",")",".dtype","tf.float32","See","`","tf.dtypes","`","for","a","complete","list","of","`","DType","`","'s","defined","."]
docstr: See tf.types.experimental.TraceType base class.
docstr_tok: ["See","tf.types.experimental.TraceType","base","class","."]
code: def cast(self, value, cast_context):
      """See tf.types.experimental.TraceType base class."""
      return super().cast(value, cast_context)
  
imports: import abc
  import builtins
  import dataclasses
  from typing import Type, Sequence, Optional
  import ml_dtypes
  import numpy
  from tensorflow.core.framework import types_pb2
  from tensorflow.python import pywrap_tensorflow
  from tensorflow.python.framework import _dtypes
  from tensorflow.python.framework import cpp_shape_inference_pb2
  from tensorflow.python.types import doc_typealias
  from tensorflow.python.util.tf_export import tf_export
  from tensorflow.python.types import trace
  from tensorflow.core.function import trace_type
  from tensorflow.tools.docs import doc_controls
label_desc: Use image node_id 17 for calling the DType obj's underlying member method code with example usage: obj.cast(value, cast_context) and returns: super