- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 306 for Unreserve (1.11 sec)
-
tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc
"Length of input node array and data shape doesn't match (#arrays ", node_names.size(), ", #input_shapes ", node_shapes.size(), ")")); } // StringMap doesn't support reserve else reserve input map size here. for (int i = 0, end = node_names.size(); i < end; i++) { auto& name = node_names[i]; const string& type = used_node_dtypes[i]; if (name.empty()) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 10.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DefaultCopySpec.java
copyActions.add(action); } @Override public PatternFilterable getPreserve() { return preserve; } @Override public CopySpecInternal preserve(Action<? super PatternFilterable> action) { action.execute(this.preserve); return this; } @Override public CopySpec eachFile(Closure closure) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 15:25:10 UTC 2024 - 33.6K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
std::vector<int64_t> targets; std::vector<Gradient*> used_in_grads; // We may end up with slightly fewer elements than we reserve, but grad.size() // should be a reasonably tight upper bound. targets.reserve(grad.size()); used_in_grads.reserve(grad.size()); std::unordered_map<int64_t, TapeTensor> sources_that_are_targets; for (int grad_index = 0, end = grad.size(); grad_index < end; ++grad_index) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 02 12:40:29 UTC 2024 - 47.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h
IsWeightOnlyQuantizableOp(*candidate_op); // Collect all the quantized inputs and "clone" the matched op by these // inputs. SmallVector<Value, 4> inputs; inputs.reserve(candidate_op->getNumOperands()); for (auto operand : candidate_op->getOperands()) { Type operand_type = operand.getType(); if (mlir::isa<NoneType>(operand_type)) { inputs.push_back(operand);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc
operand_new_shape[dimensions[i]] = operand.getType().getDimSize(i); } llvm::SmallVector<ElementValueT, 16> new_values; auto num_elements = result_type.getNumElements(); new_values.reserve(num_elements); auto operand_values = operand.getValues<ElementValueT>(); for (int64_t i = 0; i < num_elements; ++i) { const int64_t operand_index = GetElementIndex(operand_new_shape, current_index);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
// String if (const int s_size = default_value.list().s_size()) { absl::InlinedVector<const void*, 4> values_vector; values_vector.reserve(s_size); absl::InlinedVector<size_t, 4> lengths_vector; lengths_vector.reserve(s_size); for (int i = 0; i < s_size; ++i) { const string& v = default_value.list().s(i); values_vector.push_back(v.data());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 08:11:23 UTC 2024 - 44K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/saved_model_to_tfl_flatbuffer.cc
mlir::DictionaryAttr tf_attrs = entry_function->getAttrOfType<mlir::DictionaryAttr>("tf.entry_function"); llvm::SmallVector<llvm::StringRef, 4> function_input_names; function_input_names.reserve(model_flags.input_arrays().size()); auto input_attr = tf_attrs.get("inputs"); if (!input_attr) { return errors::InvalidArgument("no inputs attribute found"); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun May 12 12:39:37 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/jit/compilability_check_util.cc
if (const_args[i]) { constant_arg_indices->push_back(i); } } // There can be hundreds of resource variables. Reserve the space for them. // We don't reserve for constants above as they are usually few. resource_arg_indices->reserve(arg_types.size()); for (size_t i = 0; i < arg_types.size(); ++i) { if (arg_types[i] == DT_RESOURCE) { resource_arg_indices->push_back(i); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 30.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc
GetTPUDevices(ParsedDevices devices, llvm::ArrayRef<ParsedDevice> system_devices) { llvm::SmallVector<llvm::SmallVector<ParsedDevice, 8>, 8> tpu_devices; tpu_devices.reserve(system_devices.size()); auto lookup = [&devices](ParsedDevice device_spec) { device_spec.has_type = true; device_spec.type = kDeviceTPU; // Enumerate all the available TPUs.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:10:40 UTC 2024 - 32.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc
SmallVector<double, 4> min_value, max_value; const auto mins = dyn_cast<DenseFPElementsAttr>(min); const auto maxs = dyn_cast<DenseFPElementsAttr>(max); if (mins && maxs) { min_value.reserve(mins.getNumElements()); max_value.reserve(maxs.getNumElements()); for (auto it = mins.begin(); it != mins.end(); ++it) { min_value.push_back(FloatAttr::getValueAsDouble(*it)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 43.2K bytes - Viewed (0)