(rontolisp) docs
← Functions

torch:div

(torch:div a b)

Differentiable elementwise a / b with numpy-style broadcasting (linalg:div): the numerator's gradient is g / b, the denominator's -g * a / b^2.