MemoryObj interface.
Get the byte array from the MemoryObj.
Get the dtype of the MemoryObj.
Get the memory format of the MemoryObj.
Get the physical size of the MemoryObj in bytes.
Get the shape of the MemoryObj.
Get the size of the MemoryObj in bytes.
Invalidate the MemoryObj.
Check if the MemoryObj is valid.
Get the metada of the MemoryObj.
Get the tensor from the MemoryObj.
Bases: Enum
Enum
Compressed binary array format
[2, num_layers, num_tokens, hidden_dim]