Source/Packages

Component.PointwiseIdentity

packages/components/src/Component/PointwiseIdentity.alpha

95 lines5 declarations3.8 KiBSHA-256 7bf201c6e929

def · lines 19–32

pointwiseUnaryIdentity

Full file
19def pointwiseUnaryIdentity =
20  (lambda unrestricted operation : (family PointwiseUnary) .
21    (eliminate
22      PointwiseUnary
23      (lambda unrestricted current : (family PointwiseUnary) . Bytes)
24      operation
25      (branch PointwiseNegate . b"n")
26      (branch PointwiseSquare . b"s")
27      (branch PointwiseRoundBF16 . b"b")
28      (branch PointwiseReciprocal . b"r")
29      (branch PointwiseReciprocalSquareRoot . b"i")
30      (branch PointwiseSquareRoot . b"q")
31      (branch PointwiseTanh . b"t")
32      (branch PointwiseExponentialBase2 . b"e")))

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.