Home
last modified time | relevance | path

Searched refs:new_results (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tfrt/transforms/
Dremote_run_encapsulate.cc222 SmallVector<Value, 4> new_results; in runOnOperation() local
223 new_results.push_back(new_remote_exec_th_op.getResult(0)); in runOnOperation()
224 new_results.push_back(new_remote_exec_th_op.getResult(1)); in runOnOperation()
226 new_results.push_back( in runOnOperation()
229 remote_exec_op.replaceAllUsesWith(new_results); in runOnOperation()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf_types.cc128 llvm::SmallVector<Type, 4> new_results; in matchAndRewrite() local
130 new_results))) in matchAndRewrite()
137 new_results, op->getAttrs(), op->getSuccessors()); in matchAndRewrite()
Dlegalize_tf_communication.cc577 auto new_results = in RewriteControlFlowTerminator() local
580 terminator->setOperands(new_results); in RewriteControlFlowTerminator()
789 auto new_results = llvm::to_vector(terminator.getOperands()); in RewriteFunctionTerminator() local
790 new_results.push_back(token); in RewriteFunctionTerminator()
792 builder.create<mlir::func::ReturnOp>(terminator.getLoc(), new_results); in RewriteFunctionTerminator()
/external/tensorflow/tensorflow/compiler/mlir/tfr/passes/
Ddecompose.cc244 llvm::SmallVector<Value, 4> new_results; in RewriteUnregisteredTFOps() local
247 new_results.push_back(new_op.getResult(res.index())); in RewriteUnregisteredTFOps()
255 new_results.push_back(element_op.out()); in RewriteUnregisteredTFOps()
259 for (auto res : llvm::zip(op->getResults(), new_results)) { in RewriteUnregisteredTFOps()
Draise_to_tf.cc397 SmallVector<Value, 4> new_results; in CreateAndReplaceOp() local
403 new_results.push_back(casted.out()); in CreateAndReplaceOp()
413 new_results.push_back(list_op.out()); in CreateAndReplaceOp()
420 rewriter.replaceOp(call_op, new_results); in CreateAndReplaceOp()
/external/python/cpython3/Tools/importbench/
Dimportbench.py197 new_results = {}
208 new_results[benchmark.__doc__] = results
214 new_result = max(new_results[benchmark_name])
221 json.dump(new_results, options.dest_file, indent=2)
/external/tensorflow/tensorflow/compiler/mlir/quantization/tensorflow/utils/
Dlift_as_function_call_utils.cc227 ValueRange new_results = createFusedFnCall( in LiftAsFunctionCall() local
229 return llvm::SmallVector<Value, 4>(new_results.begin(), new_results.end()); in LiftAsFunctionCall()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_device.cc707 llvm::SmallVector<Value, 4> new_results; in EliminatePassThroughResults() local
708 new_results.reserve(num_results); in EliminatePassThroughResults()
731 new_results.push_back(result); in EliminatePassThroughResults()
735 new_results.push_back(nullptr); in EliminatePassThroughResults()
758 for (Value& result : new_results) { in EliminatePassThroughResults()
761 rewriter.replaceOp(op, new_results); in EliminatePassThroughResults()
Dtf_ops_n_z.cc3264 SmallVector<Value, 4> new_results(old_num_operands); in matchAndRewrite() local
3268 new_results[op_idx] = new_while_op.getResult(next_idx++); in matchAndRewrite()
3270 rewriter.replaceOp(while_op, new_results); in matchAndRewrite()
/external/python/cpython3/Lib/lib2to3/
Dpytree.py748 new_results = []
759 new_results.append((c0 + c1, r))
760 results = new_results
/external/python/cpython2/Lib/lib2to3/
Dpytree.py782 new_results = []
793 new_results.append((c0 + c1, r))
794 results = new_results
/external/ruy/ruy/
Dtest.h1482 std::vector<TestResult<Scalar>*> new_results;
1483 new_results.push_back(*result);
1484 clusters.push_back(new_results);