Source/Packages

Component.Pointwise

packages/components/src/Component/Pointwise.alpha

413 lines45 declarations17.7 KiBSHA-256 d94b209ac952

family · lines 33–40

PointwiseBinary

Full file
33family PointwiseBinary : Type 0
34constructor PointwiseAdd
35constructor PointwiseMultiply
36constructor PointwiseSubtract
37-- threshold(x, other): zero when x <= 0, otherwise other. NaNs take the
38-- other arm. This is the upstream ReLU/threshold-backward rule, including
39-- a zero gradient at the origin and masking a NaN gradient at negative x.
40constructor PointwisePositiveGate

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.