Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 80 for PassRegistration (0.27 sec)

  1. tensorflow/compiler/mlir/lite/transforms/prepare_quantize.cc

    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) {}
    
      // Constructor used by manually creating the pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc

        : 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;
        quant_specs_.weight_quantization = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/transforms/pick_subgraphs.cc

            "your original model plans");
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreatePickSubgraphsPass() {
      return std::make_unique<PickSubgraphsPass>();
    }
    
    static PassRegistration<PickSubgraphsPass> pass;
    
    }  // namespace tac
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 24 15:10:02 UTC 2022
    - 19.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

        std::optional<ModuleOp> tfr_module, bool materialize_derived_attrs) {
      return std::make_unique<RaiseToTFOpsPass>(tfr_module,
                                                materialize_derived_attrs);
    }
    
    static PassRegistration<RaiseToTFOpsPass> pass([] {
      return CreateRaiseToTFOpsPass();
    });
    
    }  // namespace TFR
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

          return signalPassFailure();
        }
      }
    };
    
    std::unique_ptr<Pass> createOptimizePass() {
      return std::make_unique<OptimizePass>();
    }
    
    static PassRegistration<OptimizePass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

        return sym_name.starts_with(kQuantizedFuncPrefix) ||
               sym_name.starts_with(kCompositeFuncPrefix);
      }
    
      ModuleOp module_;
      SymbolTable symbol_table_;
    };
    
    static PassRegistration<QuantizeCompositeFunctionsPass> pass;
    
    #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.inc"
    
    void QuantizeCompositeFunctionsPass::runOnOperation() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateReplaceCastHacksWithTFXLAOpsPass() {
      return std::make_unique<ReplaceCastHacksWithTFXLAOpsPass>();
    }
    
    static PassRegistration<ReplaceCastHacksWithTFXLAOpsPass> pass;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateComposeUniformQuantizedTypePass() {
      return std::make_unique<ComposeUniformQuantizedTypePass>();
    }
    
    static PassRegistration<ComposeUniformQuantizedTypePass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateUniformQuantizedStableHloToTflPass() {
      return std::make_unique<UniformQuantizedStableHloToTflPass>();
    }
    
    static PassRegistration<UniformQuantizedStableHloToTflPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

      populateWithGenerated(*patterns);
    }
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeHloToTfPass() {
      return std::make_unique<LegalizeHloToTf>();
    }
    
    static PassRegistration<LegalizeHloToTf> pass;
    
    }  // end namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
Back to top