Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 121 for MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID (0.45 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/lite/transforms/trim_functions_tf.cc

    // The pass to trim functions before we legalize to TFL
    // dialect using the specified allowlist.
    class TrimFunctionsPass
        : public impl::TrimFunctionsPassBase<TrimFunctionsPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TrimFunctionsPass)
    
      explicit TrimFunctionsPass() {}
      explicit TrimFunctionsPass(llvm::ArrayRef<std::string> trim_funcs_allowlist) {
        this->trim_funcs_allowlist_ = trim_funcs_allowlist;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 07 21:08:41 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/colocate_tpu_copy_with_dynamic_shape.cc

              ColocateTPUCopyWithDynamicShapePass> {
      void runOnOperation() override;
    };
    
    class Device : public dataflow::AbstractSparseLattice {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(Device)
      using AbstractSparseLattice::AbstractSparseLattice;
    
      ChangeResult meet(const dataflow::AbstractSparseLattice &other) override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 00:30:27 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/post_quantize.cc

    namespace quant {
    namespace {
    
    // Applies all the clean up steps after quantization.
    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 {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_xla_call_module_op_to_bfloat16.cc

    namespace {
    class ConvertXlaCallModuleOpToBfloat16Pass
        : public impl::ConvertXlaCallModuleOpToBfloat16PassBase<
              ConvertXlaCallModuleOpToBfloat16Pass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(
          ConvertXlaCallModuleOpToBfloat16Pass)
    
      explicit ConvertXlaCallModuleOpToBfloat16Pass() = default;
    
     private:
      void runOnOperation() override;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 08:32:43 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top