- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 139 for call_op (0.14 sec)
-
tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc
while_region.getBody())); } else if (auto case_op = dyn_cast<CaseOp>(op)) { llvm::SmallVector<func::FuncOp, 4> functions; case_op.get_branch_functions(functions); AnalyzeFunctionalCaseOrIfOp(case_op, functions, backtrack_analysis); } else if (auto if_op = dyn_cast<IfOp>(op)) { AnalyzeFunctionalCaseOrIfOp(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 28.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf_while.cc
auto block = builder.createBlock(®ion); SmallVector<Value, 4> new_operands; for (Type t : func.getFunctionType().getInputs()) new_operands.push_back(block->addArgument(t, loc)); auto call = builder.create<func::CallOp>(loc, func, new_operands); builder.create<YieldOp>(loc, call.getResults()); // Mark old function as private so that it can be DCE'd if not called. func.setPrivate(); } void RunOnWhile(TF::WhileOp while_op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 3.4K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/nestedOuterClass.ir.txt
$this: CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=PLUS $this: CALL 'public final fun callFoo (foo: <root>.Foo): kotlin.Int declared in <root>.ContextKt' type=kotlin.Int origin=null foo: GET_VAR 'p0: <root>.Foo declared in <root>.CodeFragment.run' type=<root>.Foo origin=null
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jan 30 11:41:26 UTC 2024 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc
// uses `get_next` to get the next value and calls `reduce_func`. `body_args` // is used as pass through of state values for else branch. `dataset_types` is // used for constructing the CallOp for `reduce_func`. IfRegionOp CreateOptionalDatasetIf( OpBuilder builder, ReduceDatasetOp reduce_dataset, FuncOp reduce_func, IteratorGetNextAsOptionalOp get_next, OptionalHasValueOp optional_has_value,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc
op, {if_op.then_function(), if_op.else_function()}, if_op.getInput()); } else if (auto case_op = dyn_cast<TF::CaseOp>(op)) { SmallVector<func::FuncOp, 4> branches; case_op.get_branch_functions(branches); result = CanonicalizeFunctionalIfCase(case_op, branches, case_op.getInput()); } else if (auto while_op = dyn_cast<TF::WhileOp>(op)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.7K bytes - Viewed (0) -
src/cmd/compile/internal/dwarfgen/dwinl.go
// Create new entry for this inline inlinedFn := base.Ctxt.InlTree.InlinedFunction(inlIdx) callXPos := base.Ctxt.InlTree.CallPos(inlIdx) callPos := base.Ctxt.InnermostPos(callXPos) absFnSym := base.Ctxt.DwFixups.AbsFuncDwarfSym(inlinedFn) ic := dwarf.InlCall{ InlIndex: inlIdx, CallPos: callPos, AbsFunSym: absFnSym, Root: parCallIdx == -1, } dwcalls.Calls = append(dwcalls.Calls, ic)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:45:07 UTC 2024 - 12.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/trim_functions_tf.cc
SymbolTable symbol_table = SymbolTable(getOperation()); llvm::SetVector<func::FuncOp> reachable_funcs; for (auto func : getOperation().getOps<func::FuncOp>()) { auto walk_result = func.walk([&](func::CallOp op) -> WalkResult { if (!symbol_table.lookup<func::FuncOp>(op.getCallee())) return getOperation().emitError() << func.getName() << " is not in the funcs allowlist";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 07 21:08:41 UTC 2022 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/tflite_legalize_hlo.cc
PopulateLegalizeHloToTFLitePatterns(&patterns, &context); ConversionTarget target(context); target.addLegalDialect<TFL::TensorFlowLiteDialect, mhlo::MhloDialect>(); target.addLegalOp<func::CallOp, func::ConstantOp, arith::ConstantOp>(); target.addDynamicallyLegalOp<mhlo::CustomCallOp>(IsCustomCallLegal); target.addDynamicallyLegalOp<mhlo::ReduceOp>(IsReduceOpLegal);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/tf_stablehlo_pass.cc
target.addLegalDialect<arith::ArithDialect>(); target.addLegalDialect<func::FuncDialect>(); target.addLegalDialect<tensor::TensorDialect>(); target.addLegalDialect<shape::ShapeDialect>(); target.addLegalOp<func::CallOp>(); if (skip_quantization_ops_) { target.addLegalOp<TF::FakeQuantWithMinMaxVarsOp>(); target.addLegalOp<TF::FakeQuantWithMinMaxVarsPerChannelOp>(); target.addLegalOp<TF::FakeQuantWithMinMaxArgsOp>();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc
// that result if so. Otherwise, it will clone and convert the callee function, // and performs stack ops decomposition on it. template <typename CallOp> LogicalResult HandlePartitionedCallOp( CallOp call, func::FuncOp callee, ModuleOp module, const llvm::SmallDenseMap<Value, Value>& data_var_to_size_var, llvm::StringMap<PartitionedCallStackOpsInfo>*
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 23.8K bytes - Viewed (0)