- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 171 for res_value (0.15 sec)
-
tensorflow/c/experimental/saved_model/core/object_graph_traversal_test.cc
ASSERT_TRUE(foo.has_value()); EXPECT_EQ(*foo, 1); absl::optional<int> foo_bar = internal::FindNodeAtPath("foo.bar", object_graph); ASSERT_TRUE(foo_bar.has_value()); EXPECT_EQ(*foo_bar, 3); absl::optional<int> foo_bar_parent = internal::FindNodeAtPath("foo.bar.parent", object_graph); ASSERT_TRUE(foo_bar_parent.has_value()); EXPECT_EQ(*foo_bar_parent, 1);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 22 20:15:34 UTC 2020 - 7.9K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/PerformanceTestScenarioDefinitionVerifier.groovy
File oldFile = new File(args[0]) File newFile = new File(args[1]) PerformanceTestScenarioDefinition oldJson = new ObjectMapper().readValue(oldFile, PerformanceTestScenarioDefinition).sort() PerformanceTestScenarioDefinition newJson = new ObjectMapper().readValue(newFile, PerformanceTestScenarioDefinition).sort() if (oldJson != newJson) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/test/apis_meta_v1_unstructed_unstructure_test.go
"creationTimestamp": "2009-11-10T23:00:00Z", "deletionTimestamp": "2010-11-10T23:00:00Z", "labels": map[string]interface{}{ "test_label": "test_value", }, "annotations": map[string]interface{}{ "test_annotation": "test_value", }, "ownerReferences": []interface{}{ map[string]interface{}{ "kind": "Pod", "name": "poda", "apiVersion": "v1",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 05 20:12:50 UTC 2022 - 17.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc
auto device_name = GetDeviceName(&inst); if (device_name.has_value()) { // Add per device costs if present. auto per_device_cost = GetPerDeviceCosts(hardware_map, &inst); flatbuffers::Offset<flatbuffers::Vector<float>> per_device_cost_offset; if (per_device_cost.has_value()) { per_device_cost_offset = builder->CreateVector(*per_device_cost); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 06:11:34 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/numerical_utils.cc
return zero_point + static_cast<int32_t>(std::round(f / scale)); }; if (rmin.has_value() && rmax.has_value()) { return {std::max(qmin, quantize(rmin.value())), std::min(qmax, quantize(rmax.value()))}; } else if (rmin.has_value()) { return {std::max(qmin, quantize(rmin.value())), qmax}; } else if (rmax.has_value()) { return {qmin, std::min(qmax, quantize(rmax.value()))}; } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 17 19:57:04 UTC 2023 - 3.3K bytes - Viewed (0) -
tensorflow/compiler/jit/device_compilation_cache.h
{ mutex_lock lock(entry->mu); if (compile_state.has_value()) { entry->compile_state = *compile_state; } if (compilation_status.has_value()) { entry->compilation_status = *compilation_status; } if (compilation_result.has_value()) { entry->compilation_result = std::move(*compilation_result); } if (executable.has_value()) { entry->executable = std::move(*executable); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 12 08:49:52 UTC 2023 - 8.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/helper.go
return fmt.Errorf("couldn't find %v field in %T", fieldName, v.Interface()) } destValue, err := conversion.EnforcePtr(dest) if err != nil { return err } if field.Type().AssignableTo(destValue.Type()) { destValue.Set(field) return nil } if field.Type().ConvertibleTo(destValue.Type()) { destValue.Set(field.Convert(destValue.Type())) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 13 22:54:34 UTC 2023 - 8.4K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/ops/variable_ops_test.cc
&read_value_handle)); Status status; AbstractTensorPtr read_value(read_value_handle->Resolve(&status)); TF_EXPECT_OK(status); EXPECT_FLOAT_EQ(42.0, *static_cast<float*>(read_value->Data())); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 21 19:26:54 UTC 2020 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/jit/device_executable_persistor_test.cc
MockXlaCompilerClient mock_client; auto executable = persistor.TryToLoadExecutable( 123, "signature_string", DefaultXlaOptions(), compilation_result_add_, &mock_client); EXPECT_FALSE(executable.has_value()); } TEST_F(DeviceExecutionPersistorTest, LoadSuccess) { XlaDeviceExecutablePersistor::Config config( /*persistent_cache_directory=*/cache_dir_, /*disable_strict_signature_checks=*/false,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 25.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_op_quant_spec_test.cc
auto output = GetWeightComponentSpec(quant_options); EXPECT_TRUE(output.has_value()); } TEST(TfOpQuantSpecTest, WeightComponentSpecDoNotExist) { QuantizationOptions quant_options; auto output = GetWeightComponentSpec(quant_options); EXPECT_FALSE(output.has_value()); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 22 18:28:40 UTC 2023 - 1.8K bytes - Viewed (0)