class_docstr: Contiguous memory buffer.
  Allocate a contiguous memory of type `dtype` and size `numel`. It is
  used to reduce memory fragmentation.
  
  Usage: After the allocation, the `_start` index is set tot the first
         index of the memory. A memory chunk starting from `_start` index
         can be `allocated` for an input tensor, with the elements of the
         tensor being coppied. The buffer can be reused by resetting the
         `_start` index.
docstr: Return number of elements in use.
docstr_tok: ["Return","number","of","elements","in","use","."]
code: def numel_in_use(self):
      """Return number of elements in use."""
      return self._start
  
file_path: apex/apex/transformer/tensor_parallel/memory.py
imports: import torch
label_desc: Use image node_id 4 for calling the MemoryBuffer obj's underlying member method code with example usage: obj.numel_in_use() and returns: self