Expand description
Mixed-precision operations for the array protocol.
This module provides support for mixed-precision operations, allowing arrays to use different numeric types (e.g., f32, f64) for storage and computation to optimize performance and memory usage.
Modules§
- ops
- Implementation of common array operations with mixed precision.
Structs§
- Mixed
Precision Array - Mixed-precision array that can automatically convert between precisions.
- Mixed
Precision Config - Configuration for mixed-precision operations.
Enums§
- Precision
- Precision levels for array operations.
Statics§
- MIXED_
PRECISION_ CONFIG - Global mixed-precision configuration.
Traits§
- Mixed
Precision Support - Trait for arrays that support mixed-precision operations.
Functions§
- determine_
optimal_ precision - Determine the optimal precision for an array based on its size.
- execute_
with_ precision - Execute an operation with a specific precision.
- get_
mixed_ precision_ config - Get the current mixed-precision configuration.
- set_
mixed_ precision_ config - Set the global mixed-precision configuration.