Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for OperationPass (0.26 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    std::unique_ptr<OperationPass<func::FuncOp>> CreateMoveTransposesPass();
    std::unique_ptr<OperationPass<func::FuncOp>> CreateLayoutAssignmentPass();
    
    // Guarantee that all FuncOp's have a single use.
    std::unique_ptr<OperationPass<ModuleOp>> CreateGuaranteeAllFuncsOneUsePass();
    
    // Optional pass which will unroll BatchMatMul and use only MatMul
    std::unique_ptr<OperationPass<func::FuncOp>> CreateUnrollBatchMatMulPassPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/passes.h

    std::unique_ptr<OperationPass<func::FuncOp>> CreateDenseToSparsePass();
    
    // Creates function pass to legalize TF While to TFL While.
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeTFWhilePass();
    
    // Legalize tflite flex ops to TF ops.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateLiftTfliteFlexOpsPass();
    
    // Creates an instance of the TensorFlow Lite dialect WhileOp outline pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 21:29:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h

    // path is available.
    std::unique_ptr<OperationPass<ModuleOp>> CreateInsertMainFunctionPass();
    
    // Converts FakeQuant ops to quant.qcast and quant.dcast (QDQ) pairs.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateConvertFakeQuantToQdqPass();
    
    // Lifts the quantizable spots as composite functions.
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateLiftQuantizableSpotsAsFunctionsPass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/import_quant_stats_pass.cc

    namespace mlir {
    namespace quant {
    
    using QuantParamsEntry = QuantizationInfo::QuantParams;
    
    namespace {
    class ImportQuantStatsPass
        : public PassWrapper<ImportQuantStatsPass, OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ImportQuantStatsPass)
    
      explicit ImportQuantStatsPass(OperationToName op_to_name)
          : op_to_name_(op_to_name) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/quantize.cc

        updated_quant_specs.nodes_blocklist = nodes_blocklist;
      }
      return std::make_unique<QuantizePass>(updated_quant_specs);
    }
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateDefaultQuantizePass() {
      return std::make_unique<QuantizePass>();
    }
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateQuantizePass(
        const bool verify_numeric, const bool whole_model_verify,
        const bool legacy_float_scale,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

        return true;
      return false;
    }
    
    class TflToStablehloPass
        : public mlir::PassWrapper<TflToStablehloPass,
                                   mlir::OperationPass<mlir::func::FuncOp>> {
     public:
      explicit TflToStablehloPass() : PassWrapper() {}
      StringRef getArgument() const final { return "tfl-parse-stablehlo-ops"; }
      StringRef getDescription() const final {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 06:08:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    
    namespace mlir {
    namespace quant {
    namespace {
    
    class QuantizeWeightsPass
        : public mlir::PassWrapper<QuantizeWeightsPass, OperationPass<ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(QuantizeWeightsPass)
    
      explicit QuantizeWeightsPass() : test_mode_(true) { initializeForTest(); }
    
      explicit QuantizeWeightsPass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

    std::unique_ptr<OperationPass<func::FuncOp>> CreatePostQuantizePass(
        bool emit_quant_adaptor_ops, const quant::CustomOpMap& custom_op_map) {
      return std::make_unique<PostQuantizePass>(emit_quant_adaptor_ops,
                                                custom_op_map);
    }
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreatePostQuantizePass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc

      });
      if (result.wasInterrupted()) return signalPassFailure();
    }
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateTFFunctionalControlFlowToRegions() {
      return std::make_unique<FunctionalControlFlowToRegions>();
    }
    std::unique_ptr<OperationPass<ModuleOp>> CreateTFFunctionalControlFlowToRegions(
        bool allow_passthrough_args) {
      return std::make_unique<FunctionalControlFlowToRegions>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc

    using ::tensorflow::quantization::OpSet;
    
    // Applies prepare quantization on the model in TF dialect for dynamic range
    // quantization case.
    class PrepareQuantizeDRQPass
        : public PassWrapper<PrepareQuantizeDRQPass, OperationPass<ModuleOp>> {
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<TF::TensorFlowDialect, ::mlir::quant::QuantizationDialect,
                        ::mlir::quantfork::QuantizationForkDialect>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top