- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 88 for res_value (0.11 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/value_test.go
} } func TestListValueContainsNestedList(t *testing.T) { lvA := NewListValue() lvA.Append(testValue(t, 1, int64(1))) lvA.Append(testValue(t, 2, int64(2))) lvB := NewListValue() lvB.Append(testValue(t, 3, int64(3))) elemA, elemB := testValue(t, 4, lvA), testValue(t, 5, lvB) lv := NewListValue() lv.Append(elemA) lv.Append(elemB) contained := lv.Contains(elemA.ExprValue())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 10.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_test.cc
EXPECT_TRUE(statistics.has_value()); EXPECT_EQ(statistics.value().min_max_statistics().global_min(), -5.0f); EXPECT_EQ(statistics.value().min_max_statistics().global_max(), 10.0f); collector.ClearData(); statistics = collector.GetStatistics(); EXPECT_FALSE(statistics.has_value()); collector.Collect( /*min=*/1.0f, /*max=*/10.f, /*histogram=*/{});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 16 04:33:52 UTC 2024 - 12.6K bytes - Viewed (0) -
plugin/pkg/admission/podtolerationrestriction/admission_test.go
namespaceTolerations: []api.Toleration{}, podTolerations: []api.Toleration{{Key: "testKey", Operator: "Equal", Value: "testValue", Effect: "NoSchedule", TolerationSeconds: nil}}, mergedTolerations: []api.Toleration{{Key: "testKey", Operator: "Equal", Value: "testValue", Effect: "NoSchedule", TolerationSeconds: nil}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 16K bytes - Viewed (0) -
statement.go
destValue := reflect.ValueOf(stmt.Dest) for destValue.Kind() == reflect.Ptr { destValue = destValue.Elem() } if stmt.ReflectValue != destValue { if !destValue.CanAddr() { destValueCanAddr := reflect.New(destValue.Type()) destValueCanAddr.Elem().Set(destValue) stmt.Dest = destValueCanAddr.Interface() destValue = destValueCanAddr.Elem() }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri Jan 12 08:42:21 UTC 2024 - 19.8K 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/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/lite/transforms/dense_to_sparse.cc
builder.getF32Type()); auto new_value = DenseElementsAttr::get<float>(compressed_data_type, compressed_data); auto s_const = builder.create<SparseConstOp>( op->getLoc(), cst.getValue(), s_param, new_value); value.replaceAllUsesWith(s_const.getResult()); cst.erase();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.1K bytes - Viewed (0) -
fastapi/encoders.py
>>> decimal_encoder(Decimal("1.0")) 1.0 >>> decimal_encoder(Decimal("1")) 1 """ if dec_value.as_tuple().exponent >= 0: # type: ignore[operator] return int(dec_value) else: return float(dec_value) ENCODERS_BY_TYPE: Dict[Type[Any], Callable[[Any], Any]] = { bytes: lambda o: o.decode(), Color: str, datetime.date: isoformat,
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 10.8K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc
} const DictValue& kwargs_dict = kwargs.dict_value(); NamedParamMap result; result.reserve(kwargs_dict.fields_size()); for (const auto& key_value : kwargs_dict.fields()) { const std::string& key = key_value.first; const StructuredValue& value = key_value.second; if (!value.has_tensor_spec_value()) { return absl::FailedPreconditionError(absl::StrCat(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 09 20:11:48 UTC 2023 - 23.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc
auto cluster_name = GetTpuClusterName(wrapped_op); if (cluster_name.has_value() && cluster_name.value() != target_cluster_name) { tpu_ops.erase(iter); return true; } if (!cluster_name.has_value() && !tpu_ops.count(wrapper.getOperation())) { tpu_ops.erase(iter); return true; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 27.6K bytes - Viewed (0)