- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 293 for runOnOperation (0.21 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_serialization.cc
f->erase(); } }); } class XlaCallModuleSerializationPass : public impl::XlaCallModuleSerializationPassBase< XlaCallModuleSerializationPass> { public: void runOnOperation() override { mlir::ModuleOp module = getOperation(); mlir::SymbolTableCollection symbol_table; mlir::WalkResult result = module.walk([&](mlir::TF::XlaCallModuleOp xla_call_module) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc
void getDependentDialects(DialectRegistry ®istry) const override { registry.insert<mlir::tf_saved_model::TensorFlowSavedModelDialect, ml_program::MLProgramDialect>(); } void runOnOperation() override { if (failed(convertTFGlobals(getOperation()))) { signalPassFailure(); } } }; std::unique_ptr<Pass> CreateLowerGlobalsToMlProgramPass() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/convert_tf_control_flow_to_scf.cc
#include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc" struct ConvertTfControlFlowToScf : public impl::ConvertTfControlFlowToScfPassBase< ConvertTfControlFlowToScf> { void runOnOperation() override { RewritePatternSet patterns(&getContext()); populateTfControlFlowToScfPatterns(&getContext(), &patterns); (void)applyPatternsAndFoldGreedily(getOperation(), std::move(patterns)); } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc
#include "tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.h.inc" struct MarkOpsForOutsideCompilation : public impl::MarkOpsForOutsideCompilationPassBase< MarkOpsForOutsideCompilation> { void runOnOperation() override; }; // Adds any canonicalization patterns to list of supported `patterns`. // TODO(b/161726307): Move or import the relevant patterns to LowerTF pass and // remove this.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc
struct TPUVariableRuntimeReformattingPass : public impl::TPUVariableRuntimeReformattingPassBase< TPUVariableRuntimeReformattingPass> { void runOnOperation() final; }; // Returns the earlier value of which `v` is an identity. If `skipped` is // provided, it will be used to store the identity nodes skipped. Value SkipIdentity(Value v, bool allow_other_use,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc
} // Determine if the unused Q-DQ pairs need to be removed. For weight-only // quantizable ops, Q-DQ ops need to be preserved. bool shouldKeepUnusedQdqPattern(); void runOnOperation() override; private: QuantizationSpecs quant_specs_; Option<bool> weight_quantization_{ *this, "weight-quantization", llvm::cl::init(false),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 23.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
registry.insert<TF::TensorFlowDialect>(); } public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(LiftTfliteFlexOpsPass) void runOnOperation() override { MLIRContext* context = &getContext(); func::FuncOp func = getOperation(); mlir::RewritePatternSet patterns(context); AddLiftTfliteFlexOpsPatterns(context, patterns);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/unfuse_batch_norm_pass.cc
// TODO(b/299514833): Remove TensorFlowDialect usage. registry.insert<shape::ShapeDialect, mlir::TF::TensorFlowDialect>(); } void runOnOperation() override { RewritePatternSet patterns(&getContext()); patterns.add<UnfuseBatchNormTrainingPattern>(&getContext()); patterns.add<UnfuseBatchNormInferencePattern>(&getContext());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc
void getDependentDialects(mlir::DialectRegistry ®istry) const override { XlaCallModuleDeserializationPassBase::getDependentDialects(registry); mlir::func::registerAllExtensions(registry); } void runOnOperation() override { ModuleOp module = getOperation(); SymbolTableCollection symbol_tables; WalkResult result = module.walk([&](XlaCallModuleOp op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 11.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/outline_composites.cc
} }; class OutlineCompositesPass : public impl::OutlineCompositesPassBase<OutlineCompositesPass> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(OutlineCompositesPass) void runOnOperation() override { auto func = getOperation(); RewritePatternSet patterns(&getContext()); patterns.add<OutlineGELU>(&getContext()); if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 9.6K bytes - Viewed (0)