Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 110 for sqrt1 (0.04 sec)

  1. tensorflow/compiler/mlir/lite/tests/quantize-numeric-verify.mlir

    // MODEL-DEBUG: %[[f_sqrt1:.*]] = "tfl.sqrt"(%[[f_conv]]
    // MODEL-DEBUG: %[[q_sqrt1:.*]] = "tfl.sqrt"(%[[dq0]]
    // MODEL-DEBUG: %[[q1:.*]] = "tfl.quantize"(%[[q_sqrt1]])
    // MODEL-DEBUG: %[[dq1:.*]] = "tfl.dequantize"(%[[q1]])
    // MODEL-DEBUG: %[[f_sqrt2:.*]] = "tfl.sqrt"(%[[f_sqrt1]])
    // MODEL-DEBUG-NOT: debug_
    // MODEL-DEBUG-SAME: (tensor<?x1x1x3xf32>)
    // MODEL-DEBUG: %[[q_sqrt2:.*]] = "tfl.sqrt"(%[[dq1]]
    // MODEL-DEBUG-NOT: debug_
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. src/go/doc/comment/print.go

    // a slash between ImportPath and # in the anchored forms.
    // For example, here are some baseURL values and URLs they can generate:
    //
    //	"/pkg/" → "/pkg/math/#Sqrt"
    //	"/pkg"  → "/pkg/math#Sqrt"
    //	"/"     → "/math/#Sqrt"
    //	""      → "/math#Sqrt"
    func (l *DocLink) DefaultURL(baseURL string) string {
    	if l.ImportPath != "" {
    		slash := ""
    		if strings.HasSuffix(baseURL, "/") {
    			slash = "/"
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/unfuse_batch_norm_pass.cc

        if (!fp_type) {
          return failure();
        }
    
        // result = (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).
    
        auto epsilon = materializeEpsilon(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.td

    // operations. 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).
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:24:59 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. 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)
  6. src/crypto/internal/edwards25519/field/fe.go

    	t0.Square(&t0)            // 2^251 - 2
    	t0.Square(&t0)            // 2^252 - 4
    	return v.Multiply(&t0, x) // 2^252 - 3 -> x^(2^252-3)
    }
    
    // sqrtM1 is 2^((p-1)/4), which squared is equal to -1 by Euler's Criterion.
    var sqrtM1 = &Element{1718705420411056, 234908883556509,
    	2233514472574048, 2117202627021982, 765476049583133}
    
    // SqrtRatio sets r to the non-negative square root of the ratio of u and v.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/arch/arm/armasm/plan9x.go

    	{VNEG_EQ_F64, []int{1, 0}, "VNEG", "NEGD"},
    	{VABS_EQ_F32, []int{1, 0}, "VABS", "ABSF"},
    	{VABS_EQ_F64, []int{1, 0}, "VABS", "ABSD"},
    	{VSQRT_EQ_F32, []int{1, 0}, "VSQRT", "SQRTF"},
    	{VSQRT_EQ_F64, []int{1, 0}, "VSQRT", "SQRTD"},
    	{VCMP_EQ_F32, []int{1, 0}, "VCMP", "CMPF"},
    	{VCMP_EQ_F64, []int{1, 0}, "VCMP", "CMPD"},
    	{VCMP_E_EQ_F32, []int{1, 0}, "VCMP.E", "CMPF"},
    	{VCMP_E_EQ_F64, []int{1, 0}, "VCMP.E", "CMPD"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/unfuse_mhlo_batch_norm.mlir

      // CHECK-DAG: %[[EPS_BCAST:.+]] = mhlo.constant dense<1.001000e-05> : tensor<256xf32>
      // CHECK-DAG: %[[VARIANCE_EPS:.+]] = mhlo.add %[[VARIANCE]], %[[EPS_BCAST]] : tensor<256xf32>
      // CHECK-DAG: %[[STDDEV:.+]] = mhlo.sqrt %[[VARIANCE_EPS]] : tensor<256xf32>
      // CHECK-DAG: %[[STDDEV_BCAST:.+]] = "mhlo.broadcast_in_dim"(%[[STDDEV]]) <{broadcast_dimensions = dense<1> : tensor<1xi64>}> : (tensor<256xf32>) -> tensor<4x256xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/math/rand/rand_test.go

    	}
    
    	// Expect a uniform distribution of byte values, which lie in [0, 255].
    	var (
    		mean       = 255.0 / 2
    		stddev     = 256.0 / math.Sqrt(12.0)
    		errorScale = stddev / math.Sqrt(float64(n))
    	)
    
    	expected := &statsResults{mean, stddev, 0.10 * errorScale, 0.08 * errorScale}
    
    	// Cast bytes as floats to use the common distribution-validity checks.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. tensorflow/cc/gradients/math_grad.cc

                    const std::vector<Output>& grad_inputs,
                    std::vector<Output>* grad_outputs) {
      // y = asin(x)
      // dy/dx = 1 / sqrt(1 - x^2)
      auto x2 = Square(scope, op.input(0));
      auto one = Cast(scope, Const(scope, 1.0), op.input(0).type());
      auto dydx = Reciprocal(scope, Sqrt(scope, Sub(scope, one, x2)));
      // grad(x) = grad(y) * conj(dy/dx)
      auto dx = Mul(scope, grad_inputs[0], ConjugateHelper(scope, dydx));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
Back to top