- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for valueHash (0.2 sec)
-
pkg/apis/batch/validation/validation.go
for j, exitCodeValue := range onExitCode.Values { valuePath := valuesPath.Index(j) if onExitCode.Operator == batch.PodFailurePolicyOnExitCodesOpIn && exitCodeValue == 0 { allErrs = append(allErrs, field.Invalid(valuePath, exitCodeValue, "must not be 0 for the In operator")) } if uniqueValues.Has(exitCodeValue) { allErrs = append(allErrs, field.Duplicate(valuePath, exitCodeValue)) } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 16:43:24 UTC 2024 - 51.2K bytes - Viewed (0) -
tensorflow/c/kernels_test.cc
EXPECT_EQ(node_def.device(), "FakeDevice"); EXPECT_EQ(node_def.attr_size(), 1); const ::tensorflow::AttrValue& value = node_def.attr().at("Attr"); EXPECT_TRUE(value.value_case() == ::tensorflow::AttrValue::ValueCase::kI); EXPECT_EQ(value.i(), 1234); TF_DeleteBuffer(node_def_buf); TF_DeleteStatus(status); return static_cast<void*>(s); }; REGISTER_OP("TestKernelAttrGetNodeDef")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 50.4K bytes - Viewed (0)