Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 156 for Rsqrt (0.12 sec)

  1. tensorflow/compiler/mlir/lite/tests/ops.mlir

    ^bb0(%arg0: tensor<? x f32>):
      // CHECK: "tfl.rsqrt"(%arg0)
      %0 = "tfl.rsqrt"(%arg0): (tensor<? x f32>) -> tensor<? x f32>
      func.return %0 : tensor<? x f32>
    }
    
    // CHECK-LABEL: testRsqrtQuant
    func.func @testRsqrtQuant(%arg0: tensor<1x80x1x!quant.uniform<i8:f32, 0.048358432948589325:-128>>) -> tensor<1x80x1x!quant.uniform<i8:f32, 0.0066055487841367722:-128>> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  2. src/math/sqrt.go

    // and "bias" are found in src/math/bits.go
    
    // Sqrt returns the square root of x.
    //
    // Special cases are:
    //
    //	Sqrt(+Inf) = +Inf
    //	Sqrt(±0) = ±0
    //	Sqrt(x < 0) = NaN
    //	Sqrt(NaN) = NaN
    func Sqrt(x float64) float64 {
    	return sqrt(x)
    }
    
    // Note: On systems where Sqrt is a single instruction, the compiler
    // may turn a direct call into a direct use of that instruction instead.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 15 17:07:57 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/mark_for_compilation_pass.cc

                "Floor", "IsFinite", "IsInf", "IsNan", "Inv", "Reciprocal", "Log",
                "Log1p", "Invert", "LogicalNot", "Ndtri", "Neg", "Rint", "Round",
                "Rsqrt", "Sigmoid", "Sign", "Sinh", "Softplus", "Softsign", "Sqrt",
                "Square", "Tan", "Tanh", "Real", "Imag", "Erf", "Erfc", "Erfinv",
                "Lgamma", "Digamma",
                // Binary
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/optimize.mlir

      func.return %2 : tensor<1x2xf32>
    
      // CHECK-DAG: %[[cst:.*]] = arith.constant dense<{{\[\[}}3.000000e+00, 4.000000e+00]]> : tensor<1x2xf32>
      // CHECK: %[[SQRT:[0-9].*]] = "tfl.sqrt"
      // CHECK: %[[RES:[0-9].*]] = tfl.add(%[[SQRT]], %[[cst]])
    }
    
    // CHECK-LABEL: fuseTileWithBinaryOp1
    func.func @fuseTileWithBinaryOp1(%arg0: tensor<1x1xf32>, %arg1: tensor<1x128xf32>) -> tensor<1x128xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 284.1K bytes
    - Viewed (0)
  5. test/codegen/math.go

    	sink64[4] = math.RoundToEven(x)
    }
    
    func sqrt(x float64) float64 {
    	// amd64:"SQRTSD"
    	// 386/sse2:"SQRTSD" 386/softfloat:-"SQRTD"
    	// arm64:"FSQRTD"
    	// arm/7:"SQRTD"
    	// mips/hardfloat:"SQRTD" mips/softfloat:-"SQRTD"
    	// mips64/hardfloat:"SQRTD" mips64/softfloat:-"SQRTD"
    	// wasm:"F64Sqrt"
    	// ppc64x:"FSQRT"
    	// riscv64: "FSQRTD"
    	return math.Sqrt(x)
    }
    
    func sqrt32(x float32) float32 {
    	// amd64:"SQRTSS"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/StatsTest.java

        assertThat(INTEGER_MANY_VALUES_STATS_ITERABLE.populationStandardDeviation())
            .isWithin(ALLOWED_ERROR * sqrt(INTEGER_MANY_VALUES_SUM_OF_SQUARES_OF_DELTAS))
            .of(sqrt(INTEGER_MANY_VALUES_SUM_OF_SQUARES_OF_DELTAS / INTEGER_MANY_VALUES_COUNT));
        assertThat(LONG_MANY_VALUES_STATS_ITERATOR.populationStandardDeviation())
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

            .isWithin(ALLOWED_ERROR * sqrt(LONG_MANY_VALUES_SUM_OF_SQUARES_OF_DELTAS))
            .of(sqrt(LONG_MANY_VALUES_SUM_OF_SQUARES_OF_DELTAS / LONG_MANY_VALUES_COUNT));
        assertThat(longManyValuesAccumulatorByAddAllVarargs.populationStandardDeviation())
            .isWithin(ALLOWED_ERROR * sqrt(LONG_MANY_VALUES_SUM_OF_SQUARES_OF_DELTAS))
            .of(sqrt(LONG_MANY_VALUES_SUM_OF_SQUARES_OF_DELTAS / LONG_MANY_VALUES_COUNT));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 34K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      );
    
      let results = (outs
        TFL_TensorOf<[F32, I32, I64, QI16, QUI8, TFL_Quint8]>:$output
      );
    
      let hasOptions = 1;
    }
    
    def TFL_RsqrtOp: TFL_Op<"rsqrt", [Pure,
                                      QuantizableResult,
                                      TFL_SameFirstOperandAndFirstResultElementType,
                                      SameOperandsAndResultShape]> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  9. src/math/log1p.go

    	}
    
    	absx := Abs(x)
    
    	var f float64
    	var iu uint64
    	k := 1
    	if absx < Sqrt2M1 { //  |x| < Sqrt(2)-1
    		if absx < Small { // |x| < 2**-29
    			if absx < Tiny { // |x| < 2**-54
    				return x
    			}
    			return x - x*x*0.5
    		}
    		if x > Sqrt2HalfM1 { // Sqrt(2)/2-1 < x
    			// (Sqrt(2)/2-1) < x < (Sqrt(2)-1)
    			k = 0
    			f = x
    			iu = 1
    		}
    	}
    	var c float64
    	if k != 0 {
    		var u float64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. src/math/asinh.go

    //
    //
    // asinh(x)
    // Method :
    //	Based on
    //	        asinh(x) = sign(x) * log [ |x| + sqrt(x*x+1) ]
    //	we have
    //	asinh(x) := x  if  1+x*x=1,
    //	         := sign(x)*(log(x)+ln2) for large |x|, else
    //	         := sign(x)*log(2|x|+1/(|x|+sqrt(x*x+1))) if|x|>2, else
    //	         := sign(x)*log1p(|x| + x**2/(1 + sqrt(1+x**2)))
    //
    
    // Asinh returns the inverse hyperbolic sine of x.
    //
    // Special cases are:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 20:02:49 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top