Skip to main content

tensors

Function tensors 

Source
pub fn tensors(inventory: &Inventory, config: &Value) -> Result<Vec<Tensor>>
Expand description

Combine MLX weight, scale, and bias entries into logical affine tensors. Per-layer quantization settings override global settings. Unknown encodings retain their metadata and data spans as opaque tensors; no weights are decoded.