(rontolisp) docs
← 関数

torch:div

(torch:div a b)

numpy スタイルのブロードキャストを伴う、微分可能な要素ごとの a / b (linalg:div) です。分子の勾配は g / b、分母の勾配は -g * a / b^2 です。