Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Rsqrt (0.06 sec)

  1. tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir

    //              rsqrt(variance + epsilon)
    // CHECK:  %[[RSQRT:.*]] = "tf.Rsqrt"(%[[ADD1]])
    //              scale * rsqrt(variance + epsilon)
    // CHECK:  %[[MUL1:.*]] = "tf.Mul"(%[[ARG1:.*]], %[[RSQRT]])
    //              x * scale * rsqrt(variance + epsilon)
    // CHECK:  %[[MUL2:.*]] = "tf.Mul"(%[[ARG0:.*]], %[[MUL1]])
    //              mean * scale * rsqrt(variance + epsilon)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

    // constraint on axis and depth.
    multiclass L2NormalizePatterns<Op FirstOp, Op SecondOp> {
      // This pattern constructs L2NormalizationOp from
      // Mul->Rsqrt->Sum->Square Or
      // Div->sqrt->Sum->Square
      def L2NormalizePattern1#FirstOp#SecondOp : Pat<
                      (FirstOp $x,
                         (SecondOp
                            (TFL_SumOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir

        // CHECK: [[LR_MULTIPLY:%.*]] = "tf.Mul"([[LR]], [[GRAD]]) : (tensor<f32>, tensor<f32>) -> tensor<f32>
        // CHECK: [[SQRT:%.*]] = "tf.Sqrt"([[NEW_ACC]]) : (tensor<*xf32>) -> tensor<*xf32>
        // CHECK: [[DIVISOR:%.*]] = "tf.AddV2"([[SQRT]], [[EPSILON]]) : (tensor<*xf32>, tensor<f32>) -> tensor<*xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

    //
    // The pattern lower FusedBatchNormV3 to arithmetic ops.
    // Specifically, performs the following calculation:
    //
    //   (x - mean) * scale / sqrt(variance + epsilon) + offset
    //
    // Let multiplier = scale / sqrt(variance + epsilon),
    // to compute
    //   (x - mean) * scale / sqrt(variance + epsilon) + offset,
    // is then to compute
    //   (x * multiplier) + (offset - mean * multiplier).
    //
    // def : Pattern<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  5. 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)
  6. src/math/big/int_test.go

    			if !testModSqrt(t, &elt, &mod, &sq, &sqrt) {
    				t.Errorf("#%d: failed (sqrt(%d,%d) = %s)", x, &elt, &mod, &sqrt)
    			}
    			isSquare[sq.Uint64()] = true
    		}
    
    		// test all non-squares
    		for x := 1; x < n; x++ {
    			sq.SetInt64(int64(x))
    			z := sqrt.ModSqrt(&sq, &mod)
    			if !isSquare[x] && z != nil {
    				t.Errorf("#%d: failed (sqrt(%d,%d) = nil)", x, &sqrt, &mod)
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Preconditions.java

     *
     * <pre>{@code
     * public static double sqrt(double value) {
     *   if (value < 0) {
     *     throw new IllegalArgumentException("input is negative: " + value);
     *   }
     *   // calculate square root
     * }
     * }</pre>
     *
     * <p>to be replaced with the more compact
     *
     * <pre>{@code
     * public static double sqrt(double value) {
     *   checkArgument(value >= 0, "input is negative: %s", value);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Preconditions.java

     *
     * <pre>{@code
     * public static double sqrt(double value) {
     *   if (value < 0) {
     *     throw new IllegalArgumentException("input is negative: " + value);
     *   }
     *   // calculate square root
     * }
     * }</pre>
     *
     * <p>to be replaced with the more compact
     *
     * <pre>{@code
     * public static double sqrt(double value) {
     *   checkArgument(value >= 0, "input is negative: %s", value);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (Cvt64Fto32F ...) => (FRSP ...)
    
    (CvtBoolToUint8 ...) => (Copy ...)
    
    (Round(32|64)F ...) => (LoweredRound(32|64)F ...)
    
    (Sqrt ...) => (FSQRT ...)
    (Sqrt32 ...) => (FSQRTS ...)
    (Floor ...) => (FFLOOR ...)
    (Ceil ...) => (FCEIL ...)
    (Trunc ...) => (FTRUNC ...)
    (Round ...) => (FROUND ...)
    (Copysign x y) => (FCPSGN y x)
    (Abs ...) => (FABS ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimaps.java

       *      = ImmutableListMultimap.of("a", 4, "a", 16, "b", 9);
       * Function<Integer, Double> sqrt =
       *     new Function<Integer, Double>() {
       *       public Double apply(Integer in) {
       *         return Math.sqrt((int) in);
       *       }
       *     };
       * ListMultimap<String, Double> transformed = Multimaps.transformValues(map,
       *     sqrt);
       * System.out.println(transformed);
       * }</pre>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top