- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for return_values (0.19 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc
// Function return values are all the terminator operands + pass through // extern values (if enabled). auto return_values = llvm::to_vector<4>(terminator->getOperands()); if (only_one_return_value) { return_values.resize(1); } if (extern_values_passthrough) return_values.insert(return_values.end(), first_block.args_begin() + num_region_arguments,
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/tensorflow/transforms/cluster_ops_by_policy.cc
llvm::SetVector<Value> return_values; llvm::SmallVector<Type> return_types; for (Operation *op : cluster.operations) for (OpOperand &use : op->getUses()) { // User is inside the cluster. if (in_cluster.contains(use.getOwner())) continue; // Do not return the same value multiple times. if (return_values.contains(use.get())) continue;
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/quantization/common/lift_as_function_call.cc
} for (Operation* op : cloning_ops) { builder.clone(*op, mapping); } SmallVector<Value> return_values; for (Value result : results) { return_values.push_back(mapping.lookupOrNull(result)); } builder.create<func::ReturnOp>(location, return_values); // Create a function call to the newly created function. StringAttr new_func_name =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc
tensorflow::XlaExpression::CastExpressionFromTensor(*output); output_values.push_back(expr->AsXlaOp(&xla_builder_)); } absl::Span<const xla::XlaOp> return_values(output_values); xla::XlaOp root_value = xla::Tuple(&xla_builder_, return_values); TF_ASSIGN_OR_RETURN(XlaComputation computation, xla_builder_.Build(root_value,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:16:07 UTC 2024 - 18.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
b.create<SelectOp>(index_type, compare_dt, lhs_index, rhs_index); Value selected_index = b.create<SelectOp>(index_type, compare_eq, min_index, min_val_index); Value return_values[] = {selected_input, selected_index}; b.create<ReturnOp>(return_values); } //===----------------------------------------------------------------------===// // PartitionedCall op utilities.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/unwrap_xla_call_module_op.cc
IRMapping new_op_mapper; for (Operation& op : function_body.getOps()) { if (llvm::isa<func::ReturnOp>(op)) { for (auto [call_result, return_value] : llvm::zip_equal(call_op.getResults(), op.getOperands())) { Value new_result = new_op_mapper.lookup(return_value); call_result.replaceAllUsesWith(new_result); } continue; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc
custom_legalization_passes)); xla::XlaOp return_value; if (returns.size() == 1) return_value = returns[0]; else return_value = xla::Tuple(&builder, returns); TF_ASSIGN_OR_RETURN( xla::XlaComputation computation, return_value.valid() ? builder.Build(return_value) : builder.Build()); auto hlo_module = computation.proto(); xla::HloProto hlo_proto;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 18.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/configurationcache/ConfigurationCacheBuildOperations.kt
.details(LoadDetails) override fun call(context: BuildOperationContext): T = block().let { (opResult, returnValue) -> context.setResult(opResult) returnValue } }) internal fun BuildOperationRunner.withStoreOperation(@Suppress("UNUSED_PARAMETER") cacheKey: String, block: () -> StoreResult) =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:09:37 UTC 2024 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
private final @Nullable Object[] passedArgs; private final @Nullable Object returnValue; private final AtomicInteger called = new AtomicInteger(); InteractionTester(Class<T> interfaceType, Method method) { this.interfaceType = interfaceType; this.method = method; this.passedArgs = getParameterValues(method); this.returnValue = new FreshValueGenerator().generateFresh(method.getReturnType()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 08 17:31:55 UTC 2024 - 9.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CollectionFuture.java
values.add(null); } this.values = values; } @Override final void collectOneValue(int index, @ParametricNullness V returnValue) { List<@Nullable Present<V>> localValues = values; if (localValues != null) { localValues.set(index, new Present<>(returnValue)); } } @Override final void handleAllCompleted() { List<@Nullable Present<V>> localValues = values;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 3.8K bytes - Viewed (0)