- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for new_results (0.14 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc
Operation *new_op = rewriter.create(state); llvm::SmallVector<Value, 4> new_results = new_op->getResults(); // Add qint->int CastOp after output result if its original type is qint and // its users are not all qint->int CastOps. for (int i = 0; i < new_results.size(); ++i) { Value &result = new_results[i]; if (IsIllegalType(result.getType()) &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc
Operation* return_op = body.getTerminator(); int num_results = return_op->getNumOperands(); // Values defined within the cluster. llvm::SmallVector<Value, 4> cluster_vals; cluster_vals.reserve(num_results); // New results stores values to use while replacing the old cluster op. llvm::SmallVector<Value, 4> new_results; new_results.reserve(num_results); for (OpOperand& operand : return_op->getOpOperands()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/decompose.cc
// a tensor_list, "tfr.get_element" op is used to extract the required TF // op result. llvm::SmallVector<Value, 4> new_results; for (auto res : llvm::enumerate(compose_func_type.getResults())) { if (mlir::dyn_cast<TFRTensorType>(res.value())) { new_results.push_back(new_op.getResult(res.index())); } else if (auto list_type = mlir::dyn_cast<TFRTensorListType>(res.value())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc
SmallVector<Value, 4> new_results; for (auto res : llvm::enumerate(call_op.getResultTypes())) { Type res_type = res.value(); if (mlir::dyn_cast<TFRTensorType>(res_type)) { Value new_res = new_op->getResult(res.index()); auto casted = rewriter.create<CastOp>(loc, res_type, new_res); new_results.push_back(casted.getOut()); } else if (auto list_type =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc
mlir::func::ReturnOp terminator, Value token) { auto new_results = llvm::to_vector(terminator.getOperands()); new_results.push_back(token); builder.setInsertionPoint(terminator); builder.create<mlir::func::ReturnOp>(terminator.getLoc(), new_results); terminator.erase(); } // Rewrites a function body and communication ops inside. Region control flow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 40.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc
InsertToSymbolTable(*module, *wrap_func, func_name); builder.setInsertionPointAfter(result_op); ValueRange new_results = CreateFunctionCallOp(builder, call_op_loc, call_op_type, new_func_name.getValue(), result_types, arguments); return SmallVector<Value, 4>(new_results.begin(), new_results.end()); } SmallVector<Value, 4> LiftAsFunctionCall(OpBuilder& builder,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransformedVariantFactory.java
if (result == null) { ResolvedArtifactSet newResult = factory.create(componentIdentifier, sourceVariant, variantDefinition, dependenciesResolverFactory); result = variants.putIfAbsent(variantKey, newResult); if (result == null) { result = newResult; } } return result; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 11:35:20 UTC 2024 - 10.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecHandle.java
} ExecResultImpl newResult = new ExecResultImpl(exitValue, execExceptionFor(failureCause, currentState), displayName); if (!currentState.isTerminal() && newState != ExecHandleState.DETACHED) { try { broadcast.getSource().executionFinished(this, newResult); } catch (Exception e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 15.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc
main_func.setArgAttr( i, kTfSavedModelIndexPathAttr, ArrayAttr::get(context, {StringAttr::get(context, input_names[i])})); } const int num_results = main_func.getNumResults(); for (int i = 0; i < num_results; ++i) { main_func.setResultAttr( i, kTfSavedModelIndexPathAttr, ArrayAttr::get(context, {StringAttr::get(context, output_names[i])})); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc
} return success(); } LogicalResult CheckOutputConsumer( Operation* call_op, int expected_num_outputs, llvm::DenseSet<int> expected_consumer_indices) { const int num_results = call_op->getNumResults(); if (num_results != expected_num_outputs) return failure(); for (int i = 0; i < expected_num_outputs; ++i) { auto it = expected_consumer_indices.find(i); if (it == expected_consumer_indices.end()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.6K bytes - Viewed (0)