- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 89 for MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID (0.58 sec)
-
tensorflow/compiler/mlir/lite/debug/debug_test.cc
namespace debug_test { class NopPass : public mlir::PassWrapper<NopPass, mlir::OperationPass<>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(NopPass) void runOnOperation() override {} }; class MutatePass : public mlir::PassWrapper<MutatePass, mlir::OperationPass<>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(MutatePass) void runOnOperation() override { mlir::OpBuilder builder(&getContext());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 17 11:15:16 UTC 2024 - 9.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump_test.cc
namespace tensorflow { namespace quantization { namespace mlir_dump_test { class NoOpPass : public mlir::PassWrapper<NoOpPass, mlir::OperationPass<mlir::ModuleOp>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(NoOpPass) NoOpPass() = default; llvm::StringRef getArgument() const final { return "no-op-pass"; } void runOnOperation() override { // Noop pass does nothing on the operation. }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 03:17:14 UTC 2024 - 6.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_pass.cc
#include "tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h.inc" class CompositeLoweringPass : public impl::CompositeLoweringPassBase<CompositeLoweringPass> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(CompositeLoweringPass); void runOnOperation() override; }; #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/generated_composite_lowering.inc"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 23:16:05 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/shlo_simplify.cc
// for canonicalization and folding which is not offered directly by the // shlo implementation. class SHLOSimplifyPass : public impl::SHLOSimplifyPassBase<SHLOSimplifyPass> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(SHLOSimplifyPass) void runOnOperation() override { ModuleOp module = getOperation(); RewritePatternSet patterns(&getContext()); populateWithGenerated(patterns);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 03:05:20 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_pre_calibration_component.cc
using ::stablehlo::quantization::QuantizationConfig; class TestPreCalibrationComponentPass : public impl::TestPreCalibrationComponentPassBase< TestPreCalibrationComponentPass> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestPreCalibrationComponentPass) private: void runOnOperation() override; }; void TestPreCalibrationComponentPass::runOnOperation() { ModuleOp module_op = getOperation();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 21:41:08 UTC 2024 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/xla_call_module_to_call.cc
namespace { // Converts XlaCallModuleOps to func.call. class XlaCallModuleToCallPass : public impl::XlaCallModuleToCallPassBase<XlaCallModuleToCallPass> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(XlaCallModuleToCallPass) explicit XlaCallModuleToCallPass() = default; private: void runOnOperation() override; }; // Converts XlaCallModuleOps to func.call.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 04 20:02:00 UTC 2024 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/optimize.cc
namespace mlir::quant { namespace { // Applies optimization after quantization. class OptimizePass : public PassWrapper<OptimizePass, OperationPass<func::FuncOp>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(OptimizePass) StringRef getArgument() const final { // This is the argument used to refer to the pass in // the textual format (on the commandline for example). return "quant-optimize";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/error_collector_inst_test.cc
: public PassWrapper<MockSuccessPass, OperationPass<ModuleOp>> { void getDependentDialects(DialectRegistry& registry) const override { registry.insert<TF::TensorFlowDialect>(); } public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(MockSuccessPass) explicit MockSuccessPass() = default; private: void runOnOperation() override { getOperation().walk([](Operation* nestedOp) { nestedOp->emitError()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 01:48:36 UTC 2024 - 8.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/restore_function_name.cc
// the XlaCallModuleSerialization. class RestoreFunctionNamePass : public impl::RestoreFunctionNamePassBase<RestoreFunctionNamePass> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(RestoreFunctionNamePass) explicit RestoreFunctionNamePass() = default; void runOnOperation() override; }; void RestoreFunctionNameFromXlaCallModuleOp(TF::XlaCallModuleOp& call_op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 08:32:43 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_variables.cc
// arguments to functions, to TFLite variables. class LegalizeVariablesPass : public impl::LegalizeVariablesPassBase<LegalizeVariablesPass> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(LegalizeVariablesPass) void runOnOperation() override { auto module = getOperation(); // If TFLite variable legalization is not allowed, then we skip this pass.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.3K bytes - Viewed (0)