Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for q0 (0.16 sec)

  1. test/fixedbugs/issue15585.go

    // license that can be found in the LICENSE file.
    
    package bug
    
    func example(n int) (rc int) {
    	var cc, ll, pp, rr [27]int
    	for q0 := 0; q0 < n-2; q0++ {
    		for q1 := q0 + 2; q1 < n; q1++ {
    			var c, d, l, p, r int
    			b0 := 1 << uint(q0)
    			b1 := 1 << uint(q1)
    			l = ((b0 << 1) | b1) << 1
    			c = b0 | b1 | (-1 << uint(n))
    			r = ((b0 >> 1) | b1) >> 1
    		E:
    			if c != -1 {
    				p = ^(l | c | r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 09 18:35:44 UTC 2016
    - 829 bytes
    - Viewed (0)
  2. test/fixedbugs/bug284.go

    		x int
    	}
    	type Q2 *S1
    	var q0 *struct {
    		x int
    	}
    	var q1 Q1
    	var q2 Q2
    	var ps1 *S1
    	q0 = q0
    	q0 = q1
    	q0 = (*struct {
    		x int
    	})(ps1) // legal because of special conversion exception for pointers
    	q0 = (*struct {
    		x int
    	})(q2) // ERROR "cannot|invalid"
    	q1 = q0
    	q1 = q1
    	q1 = Q1(q2)    // ERROR "cannot|invalid"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:59 UTC 2012
    - 3.5K bytes
    - Viewed (0)
  3. bin/diff_yaml.py

        j1 = normalize(list(yaml.safe_load_all(open(args.new))), args)
    
        q0 = {by_resource_name(res): res for res in j0 if res is not None}
        q1 = {by_resource_name(res): res for res in j1 if res is not None}
    
        added, removed, common = keydiff(q0.keys(), q1.keys())
    
        changed = 0
        for k in sorted(common):
            if q0[k] != q1[k]:
                changed += 1
    
        print("## +++ ", args.new)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 03 16:14:57 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/default_quant_params.mlir

      func.return %0 : tensor<2x2xf32>
    
    // CHECK: %[[q0:.*]] = "tfl.quantize"(%arg1) <{qtype = tensor<2x1x!quant.uniform<u8:f32, 0.0078431372549019607:128>>}>
    // CHECK: %[[q1:.*]] = "tfl.quantize"(%arg0) <{qtype = tensor<2x2x!quant.uniform<u8:f32, 0.0078431372549019607:128>>}>
    // Quantized tfl.add
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/tests/prepare_quantize_ptq.mlir

        func.return %a: tensor<*xf32>
      }
    }
    
    // CHECK-LABEL: same_scale_ptq_test
    
    // CHECK: %[[q0:.*]] = "quantfork.qcast"(%arg0)
    // CHECK: %[[dq0:.*]] = "quantfork.dcast"(%[[q0]])
    // CHECK-SAME: quant.uniform<i8:f32, 0.010039215461880554:-1>
    // CHECK: %[[maxpool:.*]] = "tf.MaxPool"(%[[dq0]])
    // CHECK: %[[q1:.*]] = "quantfork.qcast"(%[[maxpool]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 01 10:21:29 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  6. src/math/sinh.go

    	const (
    		P0 = -0.6307673640497716991184787251e+6
    		P1 = -0.8991272022039509355398013511e+5
    		P2 = -0.2894211355989563807284660366e+4
    		P3 = -0.2630563213397497062819489e+2
    		Q0 = -0.6307673640497716991212077277e+6
    		Q1 = 0.1521517378790019070696485176e+5
    		Q2 = -0.173678953558233699533450911e+3
    	)
    
    	sign := false
    	if x < 0 {
    		x = -x
    		sign = true
    	}
    
    	var temp float64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/tests/prepare_quantize_ptq_per_channel.mlir

    // CHECK-DAG: %[[cst_1:.*]] = arith.constant dense<{{.*}}> : tensor<2x3x3x2xf32>
    
    // CHECK: %[[q0:.*]] = "quantfork.qcast"(%[[cst]]) {volatile}
    // CHECK-SAME: tensor<2x!quant.uniform<i32:f32:0, {0.044169864606680966,0.042867627733627671}>>
    // CHECK: %[[dq0:.*]] = "quantfork.dcast"(%[[q0]])
    
    // CHECK: %[[q1:.*]] = "quantfork.qcast"(%[[cst_1]]) {volatile}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 01 10:21:29 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. src/math/atan.go

    		P3 = -1.228866684490136173410e+02
    		P4 = -6.485021904942025371773e+01
    		Q0 = +2.485846490142306297962e+01
    		Q1 = +1.650270098316988542046e+02
    		Q2 = +4.328810604912902668951e+02
    		Q3 = +4.853903996359136964868e+02
    		Q4 = +1.945506571482613964425e+02
    	)
    	z := x * x
    	z = z * ((((P0*z+P1)*z+P2)*z+P3)*z + P4) / (((((z+Q0)*z+Q1)*z+Q2)*z+Q3)*z + Q4)
    	z = x*z + x
    	return z
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3K bytes
    - Viewed (0)
  9. src/math/jn.go

    			// When Q(k) > 1e9	good for double
    			// When Q(k) > 1e17	good for quadruple
    
    			// determine k
    			w := float64(n+n) / x
    			h := 2 / x
    			q0 := w
    			z := w + h
    			q1 := w*z - 1
    			k := 1
    			for q1 < 1e9 {
    				k++
    				z += h
    				q0, q1 = q1, z*q1-q0
    			}
    			m := n + n
    			t := 0.0
    			for i := 2 * (n + k); i >= m; i -= 2 {
    				t = 1 / (float64(i)/x - t)
    			}
    			a := t
    			b = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/prepare_quantize/prepare_quantize.mlir

      // CHECK-DAG: %[[cst2:.*]] = stablehlo.constant dense<6.000000e+00> : tensor<f32>
      // CHECK-DAG: %[[cst3:.*]] = stablehlo.constant dense<0.000000e+00> : tensor<f32>
      // CHECK-NOT: %[[q0:.*]] = "quantfork.qcast"(%[[cst0]])
      // CHECK-NOT: %[[q1:.*]] = "quantfork.qcast"(%[[cst1]])
      // CHECK: %[[q2:.*]] = "quantfork.qcast"(%[[cst2]])
      // CHECK-SAME: quant.uniform<i8:f32, 0.023529411764705882:-128>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 19:52:06 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top