- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 391 for value_or (0.44 sec)
-
tensorflow/compiler/jit/xla_launch_util.cc
std::make_unique<xla::PjRtStreamExecutorBuffer>( device_shape, std::move(device_buffer), pjrt_client, pjrt_device, pjrt_device->default_memory_space().value_or(nullptr)); owned_args->push_back(std::move(pjrt_buffer)); args->push_back(owned_args->back().get()); } } else { if (av_tensor->GetBuffer() == nullptr) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 00:36:08 UTC 2024 - 40.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
auto attr = ::mlir::TF::ComputeOutputComponent( value_port, [this](const ValuePort& port) { return results_[port]; }); RecordValue(value_port, attr); return attr; } // Returns ShapeHandle if the op result could be computed as shape. ShapeHandle ComputeOutputAsShape(OpResult result, InferenceContext* ic); void RecordValue(const ValuePort& value_port, Attribute value) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
utils/tests/utils.go
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri Mar 10 09:21:56 UTC 2023 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/quantize_variables.cc
auto assign_variable_op = dyn_cast_or_null<AssignVariableOp>(var_handle_user); if (!assign_variable_op) continue; auto value_op = assign_variable_op.getValue().getDefiningOp(); auto dq_op = dyn_cast_or_null<DequantizeOp>(value_op); if (!dq_op || ref_qtype) continue; ref_qtype = dq_op.getInput().getType(); } return ref_qtype; } class QuantizeVariablesPass
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.5K 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) -
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/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) -
guava/src/com/google/common/collect/AbstractMultimap.java
return !valueCollection.isEmpty() && get(key).addAll(valueCollection); } else { Iterator<? extends V> valueItr = values.iterator(); return valueItr.hasNext() && Iterators.addAll(get(key), valueItr); } } @CanIgnoreReturnValue @Override public boolean putAll(Multimap<? extends K, ? extends V> multimap) { boolean changed = false;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 15 21:08:00 UTC 2021 - 7.1K bytes - Viewed (0) -
pkg/collateral/control_test.go
"one.two.valuethree": "onetwovaluethree", "one.two.three.valuefour": "onetwothreevaluefour", "extra": "thing", }, }, wantResult: map[string]any{ "one": map[string]any{ "two": map[string]any{ "valuethree": "onetwovaluethree", "three": map[string]any{ "valuefour": "onetwothreevaluefour", }, }, }, "extra": "thing",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 14:06:41 UTC 2023 - 2.9K bytes - Viewed (0) -
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)