# cosine-fit Train an embedding direction against a target row. A squared-norm epsilon stabilizes empty signal. Inputs in order: x, target. Outputs in order: loss, grad. Import this module into a Blyx program and call fd_cosine_fit(rows, width) to emit a StableHLO module on standard output. Supply positive fixed dimensions within the documented Flightdeck shape limits.