- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for value_str (0.15 sec)
-
tensorflow/c/tf_status_helper.cc
status.ForEachPayload( [tf_status](absl::string_view key, const absl::Cord& value) { std::string key_str(key); std::string value_str(value); TF_SetPayload(tf_status, key_str.c_str(), value_str.c_str()); }); } absl::Status StatusFromTF_Status(const TF_Status* tf_status) { absl::Status status(StatusCodeFromTSLCode(TF_GetCode(tf_status)),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 06:12:29 UTC 2024 - 1.7K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/c_api.cc
// Caller is responsible to call `TF_DeleteBuffer` to release the buffer. TF_Buffer* result = TF_NewBuffer(); const std::string& value_str = *value; void* data = malloc(value_str.length()); value_str.copy(static_cast<char*>(data), value_str.length(), 0); result->data = data; result->length = value_str.length(); result->data_deallocator = [](void* data, size_t length) { free(data); }; return result; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 05:48:24 UTC 2024 - 13.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.cc
if (is_float) { mhlo::OrOp value_or = llvm::dyn_cast_or_null<mhlo::OrOp>( value_select.getOperand(0).getDefiningOp()); if (!value_or) return failure(); mhlo::CompareOp value_gt = llvm::dyn_cast_or_null<mhlo::CompareOp>( value_or.getLhs().getDefiningOp()); if (!value_gt || value_gt.getComparisonDirection() != compare_direction || value_gt.getLhs() != body.getArgument(0) ||
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 20:53:17 UTC 2024 - 8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 25.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMultimap.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 24.7K bytes - Viewed (0) -
operator/pkg/util/util.go
} // ParseValue parses string into a value func ParseValue(valueStr string) any { var value any if v, err := strconv.Atoi(valueStr); err == nil { value = v } else if v, err := strconv.ParseFloat(valueStr, 64); err == nil { value = v } else if v, err := strconv.ParseBool(valueStr); err == nil { value = v } else { value = strings.ReplaceAll(valueStr, "\\,", ",") } return value }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 02 13:01:43 UTC 2023 - 3.9K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/tests/variable_test.cc
// Read variable. tensorflow::AbstractTensorHandlePtr value; { AbstractTensorHandle* value_ptr = nullptr; TF_EXPECT_OK(tensorflow::ops::ReadVariableOp(ctx_.get(), var.get(), &value_ptr, DT_FLOAT)); value.reset(value_ptr); } ExpectEquals(value.get(), 2.0f); // Destroy variable.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 19 21:44:52 UTC 2023 - 4.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 2.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/attributes/IncubatingAttributesChecker.java
} private static <T> boolean isIncubatingAttributeValue(Class<T> type, @Nullable T value) { String valueStr = value != null ? value.toString() : null; return getIncubatingFields(type).stream().map(IncubatingAttributesChecker::getFieldValue).anyMatch(Predicate.isEqual(valueStr)); } private static Object getFieldValue(Field f) { try { return f.get(null);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 26 12:54:17 UTC 2022 - 3.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h
if constexpr (std::is_integral_v<T>) { DenseIntElementsAttr value_attr; if (!matchPattern(value, m_Constant(&value_attr)) || !value_attr.isSplat()) { return false; } splat_value = value_attr.getSplatValue<T>(); return true; } DenseFPElementsAttr value_attr; if (!matchPattern(value, m_Constant(&value_attr)) || !value_attr.isSplat()) { return false; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.9K bytes - Viewed (0)