# amsgrad-step Track the maximum uncorrected second moment for AMSGrad and apply the bias-corrected step. Inputs in order: weight, grad, moment, variance, previous_max, lr, correction1, correction2. Outputs in order: updated, m, v, vmax. Import this module into a Blyx program and call fd_amsgrad_step(rows, width) to emit a StableHLO module on standard output. Supply positive fixed dimensions within the documented Flightdeck shape limits.