Skip to main content

apply_joint_itq

Function apply_joint_itq 

Source
pub fn apply_joint_itq(
    u: &mut [f32],
    v: &mut [f32],
    out_features: usize,
    in_features: usize,
    split_dim: usize,
    n_iter: usize,
    seed: u64,
) -> Result<()>
Expand description

Jointly align SVD factors U (out_features, split_dim) and V (split_dim, in_features) via X_combined = [U; V^T], updating U <- U @ R and V <- R^T @ V.

ยงErrors

Returns an error if factor slice sizes do not match dimensions or Joint-ITQ fails.