Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for PassRegistration (0.28 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/post_quantize.cc

    class PostQuantizePass
        : public PassWrapper<PostQuantizePass, OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PostQuantizePass)
    
      // Constructor used by the PassRegistration. This will remove the adaptor ops.
      explicit PostQuantizePass() = default;
    
      StringRef getArgument() const final {
        // This is the argument used to refer to the pass in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/propagate_quantize_type.cc

    class PropagateQuantizeType
        : public PassWrapper<PropagateQuantizeType, OperationPass<ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PropagateQuantizeType)
    
      // Constructor used by the PassRegistration. This will remove the adaptor ops.
      explicit PropagateQuantizeType() = default;
    
      StringRef getArgument() const final {
        // This is the argument used to refer to the pass in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.cc

                             OperationPass<ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(
          LiftQuantizableSpotsAsFunctionsDRQPass)
    
      // Constructor used by the PassRegistration. This is only used by test.
      explicit LiftQuantizableSpotsAsFunctionsDRQPass() = default;
    
      // Constructor used by manually creating the pass.
      explicit LiftQuantizableSpotsAsFunctionsDRQPass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/rename_entrypoint_to_main.cc

        candidate_funcs[0].setName(builder.getStringAttr("main"));
      }
    };
    
    std::unique_ptr<Pass> CreateRenameEntrypointToMainPass() {
      return std::make_unique<RenameEntrypointToMainPass>();
    }
    
    static PassRegistration<RenameEntrypointToMainPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/optimize.cc

        signalPassFailure();
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateOptimizePass() {
      return std::make_unique<OptimizePass>();
    }
    
    static PassRegistration<OptimizePass> pass;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_pass.cc

    // Creates an instance of the pass.
    std::unique_ptr<OperationPass<ModuleOp>> CreateCompositeLoweringPass() {
      return std::make_unique<CompositeLoweringPass>();
    }
    
    // Registers the pass implementation
    static PassRegistration<CompositeLoweringPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/smuggle_disallowed_ops.cc

          signalPassFailure();
        }
      }
    };
    
    std::unique_ptr<Pass> CreateSmuggleDisallowedOpsPass() {
      return std::make_unique<SmuggleDisallowedOpsPass>();
    }
    
    static PassRegistration<SmuggleDisallowedOpsPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 01:14:04 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/unfold_splat_constant_pass.cc

        const_op->erase();
      }
    };
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateUnfoldSplatConstantPass() {
      return std::make_unique<UnfoldSplatConstantPass>();
    }
    
    static PassRegistration<UnfoldSplatConstantPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc

                        ::mlir::quantfork::QuantizationForkDialect>();
      }
    
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PrepareQuantizeDRQPass)
    
      // Constructor used by the PassRegistration and enforce int8 quantization.
      // This is only used by test.
      explicit PrepareQuantizeDRQPass() : op_set_(OpSet::UNIFORM_QUANTIZED) {
        quant_specs_.inference_type = tensorflow::DT_QINT8;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc

            failed(ApplyVhloToStablehloPatterns(module)) ||
            failed(ApplyUnrealizedCastCanonicalization(module)))
          return signalPassFailure();
      }
    };
    
    static PassRegistration<LegalizeStablehloToVhloPass> pass_s2v;
    static PassRegistration<LegalizeVhloToStablehloPass> pass_v2s;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 19:48:51 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top