Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for erf (0.01 sec)

  1. src/math/erfinv.go

    */
    
    // This implementation is based on the rational approximation
    // of percentage points of normal distribution available from
    // https://www.jstor.org/stable/2347330.
    
    const (
    	// Coefficients for approximation to erf in |x| <= 0.85
    	a0 = 1.1975323115670912564578e0
    	a1 = 4.7072688112383978012285e1
    	a2 = 6.9706266534389598238465e2
    	a3 = 4.8548868893843886794648e3
    	a4 = 1.6235862515167575384252e4
    	a5 = 2.3782041382114385731252e4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/outline_composites.cc

    // Outlines non-approximate GELU into a stablehlo composite.
    //
    //    -> mul 1/sqrt(2) -> erf -> add 1 ->
    // in                                    mul
    //    ---------> mul 0.5 --------------->
    //
    // This pattern assumes all binary ewise ops with one constant argument
    // have that constant argument as the second operand. It works by
    // identifying `erf` ops and validate the structure around them.
    class OutlineGELU : public RewritePattern {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top