Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 115 for MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID (0.57 sec)

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

        return success();
      }
    };
    
    class ReduceTypePrecisionPass
        : public impl::ReduceTypePrecisionPassBase<ReduceTypePrecisionPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ReduceTypePrecisionPass)
      void runOnOperation() override;
    };
    
    void ReduceTypePrecisionPass::runOnOperation() {
      RewritePatternSet patterns(&getContext());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/unfold_large_splat_constant.cc

    // reduce the size of the generated flatbuffer model size.
    class UnfoldLargeSplatConstantPass
        : public impl::UnfoldLargeSplatConstantPassBase<
              UnfoldLargeSplatConstantPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(UnfoldLargeSplatConstantPass)
    
      void runOnOperation() override {
        auto module = getOperation();
    
        mlir::OpBuilder op_builder(&module.getBodyRegion());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/remove_var_init_by_const.cc

    // instead).
    class RemoveVariableInitializationByConstPass
        : public PassWrapper<RemoveVariableInitializationByConstPass,
                             OperationPass<ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(
          RemoveVariableInitializationByConstPass)
    
      StringRef getArgument() const final {
        return "quant-remove-var-init-by-const";
      }
    
      StringRef getDescription() const final {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 03 12:04:03 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/cast_bf16_ops_to_f32.cc

    namespace mlir {
    namespace quant {
    namespace {
    
    class CastBf16OpsToF32Pass
        : public PassWrapper<CastBf16OpsToF32Pass, OperationPass<ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(CastBf16OpsToF32Pass)
      explicit CastBf16OpsToF32Pass() = 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: Sun Dec 10 05:52:02 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tpu_model_to_cpu.cc

    // Convert a TPU model to be compatible on CPU by rewriting/removing TPU ops.
    class ConvertTpuModelToCpuPass
        : public PassWrapper<ConvertTpuModelToCpuPass, OperationPass<ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ConvertTpuModelToCpuPass)
      explicit ConvertTpuModelToCpuPass() = 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
    - 5.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_lift_quantizable_spots_as_functions_with_quantization_specs.cc

          TestLiftQuantizableSpotsAsFunctionsWithQuantizationSpecsPass>::
          TestLiftQuantizableSpotsAsFunctionsWithQuantizationSpecsPassBase;
    
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(
          TestLiftQuantizableSpotsAsFunctionsWithQuantizationSpecsPass)
    
     private:
      void runOnOperation() override;
    };
    
    // `TestQuantizationSpecs` -> predefined `QuantizationSpecs` textproto.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:21:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/tflite_legalize_hlo.cc

    #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h.inc"
    
    class LegalizeHloToTfLitePass
        : public impl::LegalizeHloToTfLitePassBase<LegalizeHloToTfLitePass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(LegalizeHloToTfLitePass);
    
      void runOnOperation() override;
    };
    
    class ConvertReduceOpToTFLiteArgmax
        : public ConvertReduceOpToArgMinMax<TFL::ReduceMaxOp, TFL::ArgMaxOp,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/unwrap_xla_call_module_op.cc

    // '_from_xla_call_module' trait.
    class UnwrapXlaCallModuleOpPass
        : public impl::UnwrapXlaCallModuleOpPassBase<UnwrapXlaCallModuleOpPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(UnwrapXlaCallModuleOpPass)
    
      explicit UnwrapXlaCallModuleOpPass() = default;
    
     private:
      void runOnOperation() override;
    };
    
    void UnwrapXlaCallModuleOp(TF::XlaCallModuleOp call_op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_custom_aggregation_op_to_quant_stats.cc

    namespace {
    
    class ConvertCustomAggregationOpToQuantStatsPass
        : public PassWrapper<ConvertCustomAggregationOpToQuantStatsPass,
                             OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(
          ConvertCustomAggregationOpToQuantStatsPass)
    
      StringRef getArgument() const final {
        // This is the argument used to refer to the pass in the textual format (on
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/merge_fusion_with_dequantize.cc

    namespace {
    
    class MergeFusionWithDequantizePass
        : public impl::MergeFusionWithDequantizePassBase<
              MergeFusionWithDequantizePass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(MergeFusionWithDequantizePass)
    
      explicit MergeFusionWithDequantizePass() = default;
    
     private:
      void runOnOperation() override;
    };
    
    class MergeFusionWithUniformDequantizePattern
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top