- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 140 for Enumerated (0.19 sec)
-
tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc
static absl::StatusOr<std::vector<std::string>> ParseDTypesHelper( absl::string_view data_types_str) { bool inside_subtype = false; int cur_pos = 0; std::vector<std::string> dtypes; for (const auto& it : llvm::enumerate(data_types_str)) { char c = it.value(); int i = it.index(); // Skip parsing the subtypes of a type if (c == '(') { if (inside_subtype) { return errors::FailedPrecondition(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 10.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool.cc
const TorchAvgPoolData pool = GetTorchAvgPoolData(op); const auto values = GetPadOpPaddingValues(pool); llvm::SmallVector<int32_t> padding_vec(8, 0); // NHWC for (auto [ind, val] : llvm::enumerate(values)) { padding_vec[ind + 2] = val; } auto padding_shape = RankedTensorType::get({4, 2}, builder.getI32Type()); return DenseIntElementsAttr::get(padding_shape, padding_vec); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 23:16:05 UTC 2024 - 9.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
* a start position other than 0. */ public void testForEnumerationEmpty() { Enumeration<Integer> enumer = enumerate(); Iterator<Integer> iter = Iterators.forEnumeration(enumer); assertFalse(iter.hasNext()); try { iter.next(); fail(); } catch (NoSuchElementException expected) { }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 03 13:01:51 UTC 2024 - 55.7K bytes - Viewed (0) -
common-protos/k8s.io/api/core/v1/generated.proto
// MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. // +optional map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> maxLimitRequestRatio = 6; }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 255.8K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go
"maxLimitRequestRatio": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", } func (LimitRangeItem) SwaggerDoc() map[string]string { return map_LimitRangeItem } var map_LimitRangeList = map[string]string{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 254.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/push_transpose_through_ewise.cc
llvm::SmallVector<int64_t> PermuteShape(llvm::ArrayRef<int64_t> shape, llvm::ArrayRef<int32_t> perm) { llvm::SmallVector<int64_t> new_shape(shape.size()); for (const auto &perm_element : enumerate(perm)) { new_shape[perm_element.index()] = shape[perm_element.value()]; } return new_shape; } // Determine if op commutes with transposes. Requires a strict
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
" vs ", bound_input_base, ")"); } for (const auto& index_path : llvm::enumerate(input_index_paths)) { func.setArgAttr(index_path.index(), kTfSavedModelIndexPathAttr, index_path.value()); } for (const auto& bound_input : llvm::enumerate(concrete_function.bound_inputs())) { int arg_index = bound_input_base + bound_input.index();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc
auto old_extern_values_size = extern_values.size(); llvm::SmallVector<Region*, 2> regions{&while_op.getCond(), &while_op.getBody()}; for (const auto& it : llvm::enumerate(regions)) { llvm::SetVector<Value> region_extern_values; getUsedValuesDefinedAbove(*it.value(), region_extern_values); // Sink down constants (including quantized constant) into the functions.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc
state.members.emplace_back(state.members.size(), &op, &op, *constraints); } // Initialize mapping from the member operation (block argument) to the id. for (const auto &tuple : llvm::enumerate(state.members)) { state.member_ids.try_emplace(tuple.value().source, tuple.index()); } LLVM_DEBUG(llvm::dbgs() << "Found " << (state.members.size() - num_bbarg_members)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 27.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc
Region& func_region = outlined_func.getBody(); func_region.takeBody(region); Block& first_block = func_region.front(); // Replace all external uses with function arguments. for (auto it : llvm::enumerate(extern_values)) { Value arg = first_block.addArgument(it.value().getType(), loc); replaceAllUsesInRegionWith(it.value(), arg, func_region); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0)