buffer ๐
Interface to the struct vaccel_torch_buffer
C object.
Buffer ๐
Bases: CType
Wrapper for the struct vaccel_torch_buffer
C object.
Manages the creation and initialization of a C struct vaccel_torch_buffer
and provides access to it through Python properties.
Inherits
CType: Abstract base class for defining C data types.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
| bytes | bytearray | The buffer data to be passed to the C struct. | required |