Source/Systems

PartitionedRegression.CoordinateHost

systems/partitioned-regression/src/PartitionedRegression/CoordinateHost.alpha

1,739 lines132 declarations69.0 KiBSHA-256 b43df3e170d7

def · lines 1105–1128

chBackwardUpdate

Full file
Arithmetic is shared by both projections; the next acknowledgment is a separate global transfer after local state and progress have advanced.
1105def chBackwardUpdate =
1106  (lambda unrestricted layout : (family CoordinateHostLayout) .
1107    (lambda unrestricted backward : (pi unrestricted tail : (family NativePhysicalCommands) . (family NativePhysicalCommands)) .
1108      (lambda unrestricted update : (pi unrestricted tail : (family NativePhysicalCommands) . (family NativePhysicalCommands)) .
1109        (lambda unrestricted tail : (family NativePhysicalCommands) .
1110          (nativeFloat64RequireFinite
1111            (nativeMemoryLoad (chError layout))
1112            nativePeerScratchSlot
1113            b"coordinate-residual-nonfinite"
1114            (backward
1115              (nativeFloat64RequireFinite
1116                (nativeMemoryLoad (chGradient layout))
1117                nativePeerScratchSlot
1118                b"coordinate-gradient-nonfinite"
1119                (update
1120                  (nativeFloat64RequireFinite
1121                    (nativeMemoryLoad (chWeight layout))
1122                    nativePeerScratchSlot
1123                    b"coordinate-parameter-nonfinite"
1124                    (nativeFloat64RequireFinite
1125                      (nativeMemoryLoad (chAccumulator layout))
1126                      nativePeerScratchSlot
1127                      b"coordinate-accumulator-nonfinite"
1128                      (chAdvance layout tail)))))))))))

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.