Factorization Example Checks #
Shared IO assertions used by the Cholesky and QR examples. Numerical error reductions use the public tensor operations directly.
Shared tolerance for reconstruction-error assertions.
Instances For
def
NN.Examples.Factorization.assertBelow
(name : String)
(error : Float)
(tolerance : Float := errorTolerance)
:
Fail unless err is below tolerance.
Instances For
def
NN.Examples.Factorization.assertNotBelow
(name : String)
(error : Float)
(tolerance : Float := errorTolerance)
:
Fail when a reconstruction unexpectedly succeeds.