Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID (0.83 sec)

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

    // suffix like `@main_0` to avoid conflict with the newly created main function.
    class InsertMainFunctionPass
        : public PassWrapper<InsertMainFunctionPass, OperationPass<ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(InsertMainFunctionPass)
    
      explicit InsertMainFunctionPass() = default;
    
      StringRef getArgument() const override {
        return "quant-insert-main-function";
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/prepare_quantize.cc

    // training quantization simpler.
    class PrepareQuantizePass
        : public impl::PrepareQuantizePassBase<PrepareQuantizePass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PrepareQuantizePass)
    
      // Constructor used by the PassRegistration and enforce uint8 quantization.
      // This is only used by test.
      explicit PrepareQuantizePass() : use_quantization_flags_(true) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc

    // applicable.
    class PrepareDynamicRangeQuantizePass
        : public impl::PrepareDynamicRangeQuantizePassBase<
              PrepareDynamicRangeQuantizePass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PrepareDynamicRangeQuantizePass)
    
      // Constructor used by the PassRegistration. This is only used by test.
      explicit PrepareDynamicRangeQuantizePass() {
        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
    - 20.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

              PrepareCompositeFunctionsPass> {
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<TFL::TensorFlowLiteDialect>();
      }
    
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PrepareCompositeFunctionsPass)
    
      explicit PrepareCompositeFunctionsPass() {}
    
     private:
      // TODO(b/160915525): Consolidate FuncAttr and StringAttr into one.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc

        registry.insert<TF::TensorFlowDialect, ::mlir::quant::QuantizationDialect,
                        ::mlir::quantfork::QuantizationForkDialect>();
      }
    
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PrepareQuantizePass)
    
      // Constructor used by the PassRegistration and enforce uint8 quantization.
      // This is only used by test.
      explicit PrepareQuantizePass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

    }
    
    // Raise TFR call ops to the TF ops.
    class RaiseToTFOpsPass
        : public PassWrapper<RaiseToTFOpsPass, OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(RaiseToTFOpsPass)
    
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<TFRDialect, TF::TensorFlowDialect, scf::SCFDialect,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

    constexpr char kTfLiteInputIndices[] = "_tflite_input_indices";
    
    // Legalize operations in functions.
    class LegalizeTFPass : public impl::LegalizeTFPassBase<LegalizeTFPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(LegalizeTFPass)
      LegalizeTFPass() = default;
      explicit LegalizeTFPass(bool run_tfl_runtime_verification,
                              bool preserve_assert_op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

    class ReplaceCastHacksWithTFXLAOpsPass
        : public PassWrapper<ReplaceCastHacksWithTFXLAOpsPass,
                             OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ReplaceCastHacksWithTFXLAOpsPass)
    
      StringRef getArgument() const final {
        // This is the argument used to refer to the pass in
        // the textual format (on the commandline for example).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top