class_docstr: This is a tensor-looking object with information about a Tensor.
  
  This class provides a subset of methods and attributes provided by real
  instantiated Tensor/SparseTensors/CompositeTensors in a graph such that code
  designed to handle instances of it would mostly work in real Tensors.
class_docstr_tok: ["This","is","a","tensor-looking","object","with","information","about","a","Tensor",".","This","class","provides","a","subset","of","methods","and","attributes","provided","by","real","instantiated","Tensor\/SparseTensors\/CompositeTensors","in","a","graph","such","that","code","designed","to","handle","instances","of","it","would","mostly","work","in","real","Tensors","."]
docstr: The `DType` of elements in this tensor.
docstr_tok: ["The","`","DType","`","of","elements","in","this","tensor","."]
code: def dtype(self):
      """The `DType` of elements in this tensor."""
      if hasattr(self._type_spec, "dtype"):
          return self._type_spec.dtype
      elif hasattr(self._type_spec, "_dtype"):
          # Prior to TF version 2.3, RaggedTensor._dtype was private.
          return (
              self._type_spec._dtype
          )  # pylint: disable=protected-access
      else:
          raise ValueError(
              "Expected TypeSpec %r to have a dtype attribute"
              % self._type_spec
          )
  
imports: import tensorflow
  from tensorflow_hub import tf_utils
label_desc: Use image node_id 3 for calling the ParsedTensorInfo obj's underlying member method code with example usage: obj.dtype() and returns: self, self