//! 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).
use Backend;
pub use Linear;
/// Factory for constructing `Linear<B>` from raw loaded tensors.
///
/// A `WeightLoader` will typically hold a `LinearFactory<B>` and call it
/// for each layer weight. This indirection keeps the loader independent
/// of any specific `Backend`.