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: Whether it represents a sparse tensor.
docstr_tok: ["Whether","it","represents","a","sparse","tensor","."]
code: def is_sparse(self):
      """Whether it represents a sparse tensor."""
      # This property is non-standard and does not exist in tf.Tensor or
      # tf.SparseTensor instances.
      return isinstance(self._type_spec, tf.SparseTensorSpec)
  
imports: import tensorflow
  from tensorflow_hub import tf_utils
label_desc: Use image node_id 5 for calling the ParsedTensorInfo obj's underlying member method code with example usage: obj.is_sparse() and returns: isinstance