Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 124 for Succeeded (0.1 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/utils/math_utils_test.cc

      int32_t quantized_fraction;
      int32_t shift;
    
      EXPECT_TRUE(succeeded(QuantizeMultiplier(1.2, quantized_fraction, shift)));
      EXPECT_EQ(quantized_fraction, 19661);
      EXPECT_EQ(shift, 1);
    
      EXPECT_TRUE(succeeded(QuantizeMultiplier(15.5, quantized_fraction, shift)));
      EXPECT_EQ(quantized_fraction, 31744);
      EXPECT_EQ(shift, 4);
    
      EXPECT_TRUE(succeeded(QuantizeMultiplier(1, quantized_fraction, shift)));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 05:58:41 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitTestResults.groovy

        }
    
        def checkTestCases(int total, int succeeded, int failed) {
            checkSummaryRecord('Test Cases', total, succeeded, failed)
        }
    
        def checkAssertions(int total, int succeeded, int failed) {
            checkSummaryRecord('Assertions', total, succeeded, failed)
        }
    
        private def checkSummaryRecord(String name, int total, int succeeded, int failed) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. pkg/controller/job/metrics/metrics.go

    	// based on the reason for their creation (i.e. if PodReplacementPolicy was specified)
    	// and the status of the creation (i.e. if the Pod creation succeeded or failed).
    	// Possible label values:
    	//   reason: new, recreate_terminating_or_failed, recreate_failed
    	//   status: succeeded, failed
    	JobPodsCreationTotal = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Subsystem: JobControllerSubsystem,
    			Name:      "job_pods_creation_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 17:25:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/xla_sharding_util_test.cc

      xla::OpSharding sharding;
      EXPECT_TRUE(DecodeShardingAttribute("", sharding).succeeded());
      EXPECT_TRUE(DecodeShardingAttribute("manual", sharding).failed());
    }
    
    TEST(DecodeShardingAttributeTest, CheckManualShardString) {
      xla::OpSharding sharding;
      EXPECT_TRUE(DecodeShardingAttribute("{manual}", sharding).succeeded());
      EXPECT_TRUE(sharding.type() == sharding.MANUAL);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. src/internal/saferio/io_test.go

    	t.Run("large", func(t *testing.T) {
    		_, err := ReadData(bytes.NewReader(input), 10<<30)
    		if err == nil {
    			t.Error("large read succeeded unexpectedly")
    		}
    	})
    
    	t.Run("maxint", func(t *testing.T) {
    		_, err := ReadData(bytes.NewReader(input), 1<<62)
    		if err == nil {
    			t.Error("large read succeeded unexpectedly")
    		}
    	})
    
    	t.Run("small-EOF", func(t *testing.T) {
    		_, err := ReadData(bytes.NewReader(nil), chunk-1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 00:34:05 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.cc

      if (succeeded(MatchReduceToArgMinMaxType1(reduce_op, true, true)) ||
          succeeded(MatchReduceToArgMinMaxType1(reduce_op, false, true)) ||
          succeeded(MatchReduceToArgMinMaxType1(reduce_op, true, false)) ||
          succeeded(MatchReduceToArgMinMaxType1(reduce_op, false, false)) ||
          succeeded(MatchReduceToArgMinMaxType2(reduce_op, false)) ||
          succeeded(MatchReduceToArgMinMaxType2(reduce_op, true))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/debug/debug_test.cc

      *debug_options.mutable_ir_dump_pass_regex() = R"(.*NopPass)";
    
      mlir::PassManager pm(&context_);
      InitPassManager(pm, debug_options);
      pm.addPass(std::make_unique<NopPass>());
      ASSERT_TRUE(mlir::succeeded(pm.run(*module_)));
      std::string dump_dir;
      TF_ASSERT_OK(GetDumpDir(&dump_dir));
    
      {
        std::string mlir_dump;
        TF_ASSERT_OK(tsl::ReadFileToString(
            tsl::Env::Default(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 11:15:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobstatus.go

    	return b
    }
    
    // WithSucceeded sets the Succeeded field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Succeeded field is set to the value of the last call.
    func (b *JobStatusApplyConfiguration) WithSucceeded(value int32) *JobStatusApplyConfiguration {
    	b.Succeeded = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 16:34:38 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/device_util_test.cc

          GetDeviceOrdinalFromDeviceString(unknown_loc, tpu0, &device_ordinal0);
      EXPECT_TRUE(mlir::succeeded(result0));
      EXPECT_EQ(device_ordinal0, 0);
    
      int64_t device_ordinal1 = -1;
      mlir::LogicalResult result1 =
          GetDeviceOrdinalFromDeviceString(unknown_loc, tpu1, &device_ordinal1);
      EXPECT_TRUE(mlir::succeeded(result1));
      EXPECT_EQ(device_ordinal1, 1);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/PerCallSettings.kt

        val client1 =
          client.newBuilder()
            .readTimeout(500, TimeUnit.MILLISECONDS)
            .build()
        try {
          client1.newCall(request).execute().use { response ->
            println("Response 1 succeeded: $response")
          }
        } catch (e: IOException) {
          println("Response 1 failed: $e")
        }
    
        // Copy to customize OkHttp for this request.
        val client2 =
          client.newBuilder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top