parameters: (self)
return_statement: return item
docstring: Converts this `IOTensor` into a `tf.Tensor`.
  
          Args:
              name: A name prefix for the returned tensors (optional).
  
          Returns:
              A `Tensor` with value obtained from this `IOTensor`.
docstring_summary: Converts this `IOTensor` into a `tf.Tensor`.
docstring_tokens: Converts this IOTensor into a tf . Tensor .
function: def to_tensor(self):
          """Converts this `IOTensor` into a `tf.Tensor`.
  
          Args:
              name: A name prefix for the returned tensors (optional).
  
          Returns:
              A `Tensor` with value obtained from this `IOTensor`.
          """
          item, _ = core_ops.io_kafka_readable_read(self._resource, start=0, stop=-1)
          return item
function_tokens: def to_tensor ( self ) : item , _ = core_ops . io_kafka_readable_read ( self . _resource , start = 0 , stop = - 1 ) return item