Mojo module
buffer
Implements the Buffer class.
You can import these APIs from the memory
package. For example:
from buffer import Buffer
Structsβ
- β
Buffer
: Defines a Buffer which can be parametrized on a static size and Dtype. - β
DynamicRankBuffer
: DynamicRankBuffer represents a buffer with unknown rank, shapes and dtype. - β
NDBuffer
: An N-dimensional Buffer.
Functionsβ
- β
partial_simd_load
: Loads a vector with dynamic bound. - β
partial_simd_store
: Stores a vector with dynamic bound. - β
prod_dims
: Computes the product of a slice of the given buffer's dimensions.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
If you'd like to share more information, please report an issue on GitHub
π What went wrong?