fields.buffers.utilities#
Utility functions for working with PyMetric buffer backends.
This module provides high-level entry points to the buffer system, including
the buffer_from_array()
function which resolves the appropriate buffer class
for a given array-like input.
These utilities simplify buffer construction from generic data formats and are recommended for use in user-facing APIs or internal preprocessing steps that must remain backend-agnostic.
Functions
|
Wrap an array-like object in a Pisces buffer instance. |
|
Create a new buffer with uninitialized values. |
|
Create a buffer with uninitialized values, matching the shape of another buffer. |
|
Create a new buffer filled with a constant value. |
|
Create a buffer filled with a constant value, matching the shape of another buffer. |
|
Create a new buffer filled with ones. |
|
Create a buffer filled with ones, matching the shape of another buffer. |
|
Create a new buffer filled with zeros. |
|
Create a buffer filled with zeros, matching the shape of another buffer. |