Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 248 for cat2 (0.04 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/optimize.td

    // This pattern optimizes:
    //   (x + cst1) + cst2 -> x + cst
    //   (x - cst1) - cst2 -> x - cst
    // Where: cst = cst1 + cst2
    foreach BinaryOp = [TF_AddV2Op, TF_SubOp] in {
      def OptimizeConsecutive#BinaryOp : Pat<
        (BinaryOp
          (BinaryOp $x, (TF_ConstOp:$cst1 $cst1_value)),
          (TF_ConstOp:$cst2 $cst2_value)),
        (BinaryOp
          $x, (TF_AddV2Op $cst1, $cst2))>;
    }
    
    // This pattern optimizes:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/float_test.go

    //go:noinline
    func ip64(v int64) *int64 {
    	return &v
    }
    
    func TestFloatConvert(t *testing.T) {
    	if got := cvt1(3.5); got != 3 {
    		t.Errorf("cvt1 got %d, wanted 3", got)
    	}
    	if got := cvt2(3.5); got != 3 {
    		t.Errorf("cvt2 got %d, wanted 3", got)
    	}
    	if got := cvt3(3.5); got != 3 {
    		t.Errorf("cvt3 got %d, wanted 3", got)
    	}
    	if got := cvt4(3.5); got != 3 {
    		t.Errorf("cvt4 got %d, wanted 3", got)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  3. src/net/url/example_test.go

    func ExampleValues_Add() {
    	v := url.Values{}
    	v.Add("cat sounds", "meow")
    	v.Add("cat sounds", "mew")
    	v.Add("cat sounds", "mau")
    	fmt.Println(v["cat sounds"])
    
    	// Output:
    	// [meow mew mau]
    }
    
    func ExampleValues_Del() {
    	v := url.Values{}
    	v.Add("cat sounds", "meow")
    	v.Add("cat sounds", "mew")
    	v.Add("cat sounds", "mau")
    	fmt.Println(v["cat sounds"])
    
    	v.Del("cat sounds")
    	fmt.Println(v["cat sounds"])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 7.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/sink_constant.mlir

            // CHECK: tf_device.cluster
            // CHECK-DAG: %[[CST2:.*]] = "tf.Const"{{.*}}2.0
            // CHECK-DAG: %[[CST3:.*]] = "tf.Const"{{.*}}3.0
            // CHECK-DAG: %[[CST4:.*]] = "tf.Const"{{.*}}4.0
            // CHECK-NOT:"tf.Const"
            // CHECK: %[[MUL1:.*]] = "tf.Mul"(%arg0, %[[CST2]])
            // CHECK-NEXT: %[[MUL2:.*]] = "tf.Mul"(%[[MUL1]], %[[CST2]])
            // CHECK-NEXT: %[[MUL3:.*]] = "tf.Mul"(%[[MUL2]], %[[CST3]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/cached/TwoStageExternalResourceFileStoreTest.groovy

            def fat1 = Mock(FileAccessTracker)
            def fat2 = Mock(FileAccessTracker)
    
            when:
            twoStageStore.getFileAccessTracker().markAccessed(file)
    
            then:
            1 * readStore.getFileAccessTracker() >> fat1
            1 * writeStore.getFileAccessTracker() >> fat2
            1 * fat1.markAccessed(file)
            1 * fat2.markAccessed(file)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-inplaceupdate.mlir

    // CHECK-DAG: %[[CST0:.*]] = stablehlo.constant dense<1> : tensor<i32>
    // CHECK-DAG: %[[CST1:.*]] = stablehlo.constant dense<0> : tensor<i32>
    // CHECK-DAG: %[[CST2:.*]] = stablehlo.constant dense<2.000000e+00> : tensor<1x1x2xf32>
    // CHECK: %[[RES:.*]] = stablehlo.dynamic_update_slice %arg0, %[[CST2]], %[[CST0]], %[[CST1]], %[[CST1]] : (tensor<2x1x2xf32>, tensor<1x1x2xf32>, tensor<i32>, tensor<i32>, tensor<i32>) -> tensor<2x1x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 16 05:09:09 UTC 2022
    - 993 bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        Map<String, Integer> unfiltered = createUnfiltered();
        unfiltered.put("cat", 3);
        unfiltered.put("dog", 2);
        unfiltered.put("horse", 5);
        Map<String, Integer> filtered = Maps.filterEntries(unfiltered, CORRECT_LENGTH);
        assertEquals(ImmutableMap.of("cat", 3, "horse", 5), filtered);
    
        filtered.put("chicken", 7);
        assertEquals(ImmutableMap.of("cat", 3, "horse", 5, "chicken", 7), filtered);
    
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/functional-control-flow-to-cfg.mlir

    // CHECK:   cf.br ^bb3([[CAST1]] : tensor<!tf_type.variant<tensor<f32>>>)
    // CHECK: ^bb2:
    // CHECK:   [[CAST2:%.+]] = "tf.Cast"(%arg1) <{Truncate = false}> : (tensor<!tf_type.variant<tensor<f32>>>) -> tensor<!tf_type.variant>
    // CHECK:   [[ELSE:%.+]] = call @testIfElse([[CAST2]]) : (tensor<!tf_type.variant>) -> tensor<!tf_type.variant>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  9. hack/testdata/pod-with-metadata-and-probes.yaml

      containers:
      - image: registry.k8s.io/nginx:1.7.9
        name: target
        readinessProbe:
          exec:
            command: ["/bin/sh", "-c", "cat probe"]
        livenessProbe:
          exec:
            command: ["/bin/sh", "-c", "cat probe"]
        startupProbe:
          exec:
            command: ["/bin/sh", "-c", "cat probe"]
      initContainers:
      - image: busybox
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 17:26:20 UTC 2024
    - 471 bytes
    - Viewed (0)
  10. src/test/resources/before_script.sh

    error_count=0
    while true ; do
      status=$(curl -w '%{http_code}\n' -s -o ${temp_json_file} "http://localhost:8080/api/v1/health")
      cat ${temp_json_file}
      if [[ x"${status}" = x200 ]] ; then
        break
      else
        error_count=$((error_count + 1))
      fi
      if [[ ${error_count} -ge 60 ]] ; then
        echo "Fess is not available."
        cat ${temp_log_file} ./fess-*/logs/*.log
        exit 1
      fi
      sleep 1
    done
    
    pushd /tmp >/dev/null
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat Feb 10 03:25:34 UTC 2024
    - 863 bytes
    - Viewed (0)
Back to top