Skip to main content

LayerPrecision

Type Alias LayerPrecision 

Source
pub type LayerPrecision = Precision;
Expand description

Target precision for a single layer/variable in mixed-precision mode.

This is an alias for nxpu_backend_core::Precision to avoid duplicating the enum definition across crates.

Aliased Type§

pub enum LayerPrecision {
    F32,
    F16,
    BF16,
    Int8,
}

Variants§

§

F32

32-bit floating point (no conversion).

§

F16

16-bit floating point.

§

BF16

Brain floating point (16-bit).

§

Int8

8-bit integer (quantized).