# dice-fit ![Eurasian curlew](assets/logo.png) Compute smoothed soft Dice loss over a row and its probability-space gradient. Use targets and predictions in [0,1]. Inputs in order: prediction, target. Outputs in order: loss, grad. Import this module into a Blyx program and call fd_dice_fit(rows, width) to emit a StableHLO module on standard output. Supply positive fixed dimensions within the documented Flightdeck shape limits.