Skip to main content

Module traits

Module traits 

Source
Expand description

Re-export of Linear trait (canonical home: ferrum-kernels) plus LinearFactory for weight-loader-side Linear construction.

The trait itself lives in ferrum-kernels::linear so that Backend-level helpers (layer_forward_fused) can reference it without ferrum-kernels depending on this crate (which would be circular).

Traitsยง

Linear
A weight-bearing linear projection.
LinearFactory
Factory for constructing Linear<B> from raw loaded tensors.