- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,029 for Inliner (0.16 sec)
-
tensorflow/compiler/mlir/tfr/passes/decompose.cc
LogicalResult DecomposeTFOpsPass::InlineTFRFuncCalls() { // The Inliner will automatically use the registered dialect inliner. InlinerInterface inliner(&getContext()); func::FuncOp func = getOperation(); SymbolTable table(external_tfr_module_.has_value() ? *external_tfr_module_ : func->getParentOfType<ModuleOp>()); // The inliner only inlines the TFR call op. bool changed = false;
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/tensorflow/transforms/executor_tpuv1_inline_tpu_island.cc
if (!nested_module) return; InlinerInterface inliner(&getContext()); auto walk_result = getOperation().walk([&](TF::PartitionedCallOp call_op) { if (!call_op.getF().getRootReference().getValue().starts_with( kNestedModule)) return WalkResult::advance(); // This is a call we need to inline! LLVM_DEBUG(llvm::dbgs() << "Found call to inline: " << *call_op.getOperation() << "\n");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 4K bytes - Viewed (0) -
test/fixedbugs/issue54632.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // The inliner would erroneously scan the caller function's body for // reassignments *before* substituting the inlined function call body, // which could cause false positives in deciding when it's safe to // transitively inline indirect function calls. package main func main() { bug1() bug2(fail) } func bug1() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 24 14:31:08 UTC 2022 - 609 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/bridge.h
namespace mlir { namespace TF { inline constexpr char kStandardPipelineBefore[] = "standard_pipeline_before"; inline constexpr char kStandardPipelineAfter[] = "standard_pipeline_after"; // Runs all passes involved in transforming or optimizing an MLIR graph without // any target specialization. When enable_logging is true, enables // tensorflow::BridgeLogger. When enable_inliner is true, enables the inliner // pass. ABSL_DEPRECATED(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 24 22:46:43 UTC 2023 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/pass_pipeline.cc
AddShapeLegalizationPasses(pm); pm.addNestedPass<func::FuncOp>( CreateConvertCustomAggregationOpToQuantStatsPass()); pm.addPass(createQuantizeCompositeFunctionsPass(options)); // Add an inliner pass to inline quantized StableHLO functions. pm.addPass(createInlinerPass()); if (pipeline_config.unpack_quantized_types()) { AddStablehloQuantToIntPasses(pm); } } void AddWeightOnlyQuantizationPasses(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 8.1K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/scoring.go
st = "PROMOTED" expinl = true case hairyval <= bud && score > bud: // Demoted: we would have inlined it before, but after // score adjustment we decided not to inline. st = "DEMOTED" } inlined := cs.aux&csAuxInlined != 0 indprom := false if cs.parent != nil { indprom = indirectlyDueToPromotion(cs.parent) } if inlined && indprom { st += "|INDPROM" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:42:52 UTC 2024 - 24.2K bytes - Viewed (0) -
src/cmd/compile/internal/dwarfgen/dwinl.go
// is part of the top-level function (ii == 0) or if it was // produced as a result of an inline (ii != 0). // // If a variable was not produced by an inline and its containing // function was not inlined, then we just assign an ordering of // based on variable name. // // If a variable was not produced by an inline and its containing // function was inlined, then we need to assign a child index
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/tf2xla/internal/clustering_bridge_passes.cc
pm.addNestedPass<FuncOp>(mlir::TFDevice::CreateLaunchToDeviceAttributePass()); // Note that the region-based control-flow produced here still contains // function call ops which get inlined by the subsequent inliner pass. pm.addPass(mlir::TF::CreateTFFunctionalControlFlowToRegions()); pm.addPass(mlir::createInlinerPass()); pm.addNestedPass<FuncOp>( mlir::TF::CreateDropWhileShapeInvariantInDeviceClusterPass());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 16:09:14 UTC 2024 - 11.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/tac_module.h
std::vector<std::string> hardware_backends; // Debug mode. // This will output different alternative subgraphs in mlir format for debug // purpose. bool debug_mode = false; // Whether to enable inliner passes or not. bool enable_inliner = false; // Whether to legalize ops to TFLite ops before exporting. bool legalize_to_tflite_ops = false; }; virtual ~TacModule() = default;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc
// TPUCompilationResultsOp. if (op->hasAttr(kTpuCompilationStatus)) { op->setAttr(kTpuCompilationStatus, attr); } } // A helper class to inline TF::StatefulPartitionedCall ops struct Inliner : public InlinerInterface { Inliner(OpBuilder& builder, SymbolTable& symbol_table) : InlinerInterface(builder.getContext()), builder(builder), symbol_table(symbol_table) {}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 92.9K bytes - Viewed (0)