- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 95 for getExt (0.12 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
regions.push_back(RegionSuccessor( &getNext(), getNext().front().getArguments().drop_back(n))); } else if (point.getRegionOrNull() == &getNext()) { // `next` branches to itself, or to `finalize`, passing all arguments given // to `next`s yield. // The number of values we're passing along. int num = getNext().front().getTerminator()->getNumOperands();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc
llvm::SmallSet<int, 4> dynamic_arg_idx_set; if (dynamic_arg_idx) { for (auto idx : dynamic_arg_idx.getValue()) { dynamic_arg_idx_set.insert(mlir::dyn_cast<IntegerAttr>(idx).getInt()); } } for (auto operand_type_and_idx : llvm::enumerate(op.getOperandTypes())) { Type operand_type = operand_type_and_idx.value(); int index = operand_type_and_idx.index();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc
generator_region.getInitFuncOtherArgs(), /*use_region_args=*/true, /*forward_block_args=*/false); CreateCall(generator_op, next_function, generator_region.getNext(), generator_region.getNextFuncOtherArgs(), /*use_region_args=*/true, /*forward_block_args=*/false); CreateCall(generator_op, finalize_function, generator_region.getFinalize(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc
op->emitOpError() << "is missing attribute '" << kCalledIndexAttrName << "'"; return WalkResult::interrupt(); } int called_index = called_index_attr.getInt(); if (called_index < 0 || called_index >= function_list.size()) { op->emitOpError() << "references function #" << called_index
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 11.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<String> iterator = Collections.singletonList("foo").iterator(); assertEquals("foo", Iterators.getNext(iterator, "bar")); } public void testGetNext_withDefault_empty() { Iterator<String> iterator = Iterators.emptyIterator(); assertEquals("bar", Iterators.getNext(iterator, "bar")); } public void testGetNext_withDefault_empty_null() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 03 13:01:51 UTC 2024 - 55.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc
LogicalResult ConvertToI32Attr(IntegerAttr attr, IntegerAttr* attr_i32) { if (attr.getType().isInteger(/*width=*/32)) { *attr_i32 = attr; return success(); } int64_t value = attr.getInt(); if (value > std::numeric_limits<int>::max() || value < std::numeric_limits<int>::min()) { return failure(); } *attr_i32 = IntegerAttr::get(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 25.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProject.java
@Override public AntBuilder ant(Closure configureClosure) { return ConfigureUtil.configure(configureClosure, getAnt()); } @Override public AntBuilder ant(Action<? super AntBuilder> configureAction) { AntBuilder ant = getAnt(); configureAction.execute(ant); return ant; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 50.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc
DCHECK(group_size_attr != nullptr) << "module attribute " << kGroupSizeAttrName << " is required for CollectiveInfo but not found."; int32_t group_key = group_key_attr.getInt(); int32_t group_size = group_size_attr.getInt(); VLOG(2) << "Populating CollectiveInfo: group_key=" << group_key << " group_size=" << group_size; compilation_result->collective_info = {group_key, group_size, 0};
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 17:24:39 UTC 2024 - 45.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc
for (const Attribute& attr : op.getDeviceVarReadsIndices()) { read_array.insert(mlir::cast<IntegerAttr>(attr).getInt()); } llvm::SmallSet<int, 8> update_array; for (const Attribute& attr : op.getDeviceVarUpdatesIndices()) { update_array.insert(mlir::cast<IntegerAttr>(attr).getInt()); } for (auto& arg : op->getOpOperands()) { Value v = arg.get();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
for (int64_t i = 0; i < input_rank; ++i) { int64_t input_size = input_shape[i]; int64_t start_index = constant_start_indices.getValues<IntegerAttr>()[i].getInt(); int64_t slice_size = slice_sizes.getValues<IntegerAttr>()[i].getInt(); normalized_sizes.push_back(slice_size == -1 ? input_size - start_index : slice_size); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0)