class_docstr: A lightweight buffer for maintaining lists.
  
  The TensorBuffer accumulates tensors of the given shape into a tensor (whose
  rank is one more than that of the given shape) via calls to `append`. The
  current value of the accumulated tensor can be extracted via the property
  `values`.
docstr: Returns the current capacity of the buffer.
docstr_tok: ["Returns","the","current","capacity","of","the","buffer","."]
code: def capacity(self):
      """Returns the current capacity of the buffer."""
      return self._capacity
  
imports: import tensorflow.compat.v1
label_desc: Use image node_id 5 for calling the TensorBuffer obj's underlying member method code with example usage: obj.capacity() and returns: self