Mojo module
buffer
Implements the Buffer class.
You can import these APIs from the memory
package. For example:
from buffer import Buffer
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!
😔 What went wrong?