Skip to main content

Module optimization

Module optimization 

Source
Expand description

SIMD-optimized optimization algorithms

This module implements high-performance optimization algorithms using SIMD instructions for machine learning applications including gradient descent, coordinate descent, and Newton-type methods.

Structs§

CoordinateDescent
SIMD-optimized coordinate descent optimizer
GradientDescent
SIMD-optimized gradient descent optimizer
QuasiNewton
SIMD-optimized quasi-Newton optimizer (L-BFGS)

Functions§

simd_axpy
SIMD-optimized AXPY operation: y = alpha * x + y
simd_momentum_update
SIMD-optimized momentum update: v = momentum * v + grad
simd_scale
SIMD-optimized scaling: x = alpha * x