TorchLean API

NN.Examples.Factorization.Common

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

    Fail unless err is below tolerance.

    Instances For
      def NN.Examples.Factorization.assertAtLeast (name : String) (error : Float) (threshold : Float := 0.5) :

      Fail unless err is at least threshold.

      Instances For

        Fail when a reconstruction unexpectedly succeeds.

        Instances For