Source/Packages

Component.SigmoidWeightedGate

packages/components/src/Component/SigmoidWeightedGate.alpha

181 lines14 declarations6.6 KiBSHA-256 7302f612c9f7

def · lines 77–81

sigmoidGatedProductWith

Full file
h = up * gate(x), so its two input pullbacks have different factors.
77def sigmoidGatedProductWith =
78  (lambda unrestricted operations : Float32Operations .
79    unrestricted up : Nat .
80    unrestricted gate : Nat .
81    f32Multiply operations up (sigmoidWeightedGateWith operations gate))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.