Fit nonnegative counts using a log-rate prediction. Returns Poisson NLL without the target-only factorial term and the log-rate gradient.
Extensions
Add languages, themes, MCP servers and agent tools to IZ Code. Install native IZ Code extensions, or anything from the Open VSX registry.
24362 extensions36 IZ Code24326 Open VSX
2264 extensions in Snippets
Clear filters- 296 downloadsRahulChaubeUpdated yesterday
Compute stable binary cross entropy from logits and its derivative. Supply binary or soft targets in [0,1].
296 downloadsRahulChaubeUpdated yesterdayApply row RMS normalization with per-feature gain and return the input gradient and per-row gain contribution.
296 downloadsRahulChaubeUpdated yesterdayScore binary probability calibration from logits with the Brier loss and its chain-rule gradient.
295 downloadsRahulChaubeUpdated yesterdayDistil a teacher into student logits with temperature two and the temperature-squared loss convention.
294 downloadsRahulChaubeUpdated yesterdayMerge two per-example mean gradients using their counts, then emit the merged mean and new count. Nonnegative counts are row constants.
294 downloadsRahulChaubeUpdated yesterdayNormalize each embedding row, add affine gain and bias, and propagate an upstream derivative. Sum gain contributions across rows externally.
294 downloadsRahulChaubeUpdated yesterdayCompute stable log probabilities and propagate an upstream derivative through row log-softmax.
294 downloadsRahulChaubeUpdated yesterdayCompute smoothed soft Dice loss over a row and its probability-space gradient. Use targets and predictions in [0,1].
293 downloadsRahulChaubeUpdated yesterdayFuse a residual addition with pre-normalization and return the combined residual stream and scaled output.
293 downloadsRahulChaubeUpdated yesterdayAdvance an exponential-moving-average teacher and track the mean squared gap from the current student. Decay lies in [0,1].
293 downloadsRahulChaubeUpdated yesterdayRoute feed-forward activations through a ReLU gate. At a zero gate choose the zero subgradient.
293 downloadsRahulChaubeUpdated yesterday