Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,170 for const1 (0.11 sec)

  1. src/cmd/compile/internal/types2/const.go

    			case Int:
    				var s = uint(sizeof(typ)) * 8
    				return int64(-1)<<(s-1) <= x && x <= int64(1)<<(s-1)-1
    			case Int8:
    				const s = 8
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int16:
    				const s = 16
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int32:
    				const s = 32
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int64, UntypedInt:
    				return true
    			case Uint, Uintptr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/const-fold.mlir

      // CHECK-DAG: [[cst0:%.*]] = arith.constant dense<8> : tensor<i32>
      // CHECK-DAG: [[cst1:%.*]] = arith.constant dense<-16> : tensor<4xi32>
      // CHECK-DAG: [[cst2:%.*]] = arith.constant dense<4> : tensor<4xi32>
      // CHECK-DAG: [[cst3:%.*]] = arith.constant dense<-8> : tensor<4xi32>
      // CHECK: return [[cst0]], [[cst1]], [[cst2]], [[cst3]]
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  3. src/go/types/const.go

    			case Int:
    				var s = uint(sizeof(typ)) * 8
    				return int64(-1)<<(s-1) <= x && x <= int64(1)<<(s-1)-1
    			case Int8:
    				const s = 8
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int16:
    				const s = 16
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int32:
    				const s = 32
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int64, UntypedInt:
    				return true
    			case Uint, Uintptr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/lift_quantizable_spots_as_functions.mlir

      %3 = stablehlo.add %2, %1 : tensor<1x3xf32>
      func.return %3: tensor<1x3xf32>
    }
    // CHECK: %[[CONST_0:.*]] = stablehlo.constant dense<2.000000e+00>
    // CHECK: %[[CONST_1:.*]] = stablehlo.constant dense<2.000000e+00>
    // CHECK: %[[XLA_CALL_MODULE:.*]] = "tf.XlaCallModule"(%arg0, %[[CONST_0]], %[[CONST_1]])
    // CHECK: return %[[XLA_CALL_MODULE:.*]] : tensor<1x3xf32>
    // CHECK: }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/generic.rules

    (And16  (Const16 [c])  (Const16 [d]))  => (Const16 [c&d])
    (And32  (Const32 [c])  (Const32 [d]))  => (Const32 [c&d])
    (And64  (Const64 [c])  (Const64 [d]))  => (Const64 [c&d])
    
    (Or8   (Const8 [c])   (Const8 [d]))   => (Const8  [c|d])
    (Or16  (Const16 [c])  (Const16 [d]))  => (Const16 [c|d])
    (Or32  (Const32 [c])  (Const32 [d]))  => (Const32 [c|d])
    (Or64  (Const64 [c])  (Const64 [d]))  => (Const64 [c|d])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    		var cost uint64
    		if len(args) > 0 {
    			cost += traversalCost(args[0]) // these O(n) operations all cost roughly the cost of a single traversal
    		}
    		return &cost
    	case "url", "lowerAscii", "upperAscii", "substring", "trim":
    		if len(args) >= 1 {
    			cost := uint64(math.Ceil(float64(actualSize(args[0])) * common.StringTraversalCostFactor))
    			return &cost
    		}
    	case "replace", "split":
    		if len(args) >= 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. pkg/kube/kclient/crdwatcher.go

    	// Setup a filter
    	crd := t.(*metav1.PartialObjectMetadata)
    	mv, f := minimumCRDVersions[crd.Name]
    	if !f {
    		return true
    	}
    	bv, f := crd.Annotations[consts.BundleVersionAnnotation]
    	if !f {
    		log.Errorf("CRD %v expected to have a %v annotation, but none found; ignoring", crd.Name, consts.BundleVersion)
    		return false
    	}
    	fv, err := semver.NewVersion(bv)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/simple.mlir

      %0 = "tfl.pseudo_const" () {value = dense<[[1, 2], [3, 4], [5, 6]]> : tensor<3x2xi32>} : () -> tensor<3x2xi32> loc("Const")
      %1 = "tfl.sub" (%arg0, %0) {fused_activation_function = "RELU6"} : (tensor<3x2xi32>, tensor<3x2xi32>) -> tensor<3x2xi32> loc("sub")
      %2 = "arith.constant" () {value = dense<10> : tensor<i32>} : () -> tensor<i32> loc("Const2")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/tests/components/tf_to_stablehlo.mlir

    // COM: CHECK-DAG: %[[CONST:.*]] = stablehlo.constant dense<{{.*}}> : tensor<1x1x2x8xf32>
    // COM: CHECK: return %[[CONST]] : tensor<1x1x2x8xf32>
    
    func.func @fused_batchnorm_no_training_arg_input(%arg_0: tensor<1x1x2x8xf32>) -> (tensor<1x1x2x8xf32>) {
      %cst_0 = "tf.Const"() {value = dense<[0.1, 0.2, 0.1, 0.2, 0.1, 0.2, 0.1, 0.2]> : tensor<8xf32>} : () -> tensor<8xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 20:05:12 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/tensorflow/tests/fallback_to_flex_ops_default.mlir

    // CHECK-DAG: %[[CONST_0:.*]] = "tf.Const"() <{value = dense<{{.*}}> : tensor<1x1x3x2xf32>}> : () -> tensor<1x1x3x2xf32>
    // CHECK-DAG: %[[CONST_1:.*]] = "tf.Const"() <{value = dense<-1.000000e+00> : tensor<f32>}> : () -> tensor<f32>
    // CHECK-DAG: %[[CONST_2:.*]] = "tf.Const"() <{value = dense<1.000000e+00> : tensor<f32>}> : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top