Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 69 for MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID (0.7 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/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)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/lite/transforms/legalize_jax_random.cc

    #include "tensorflow/compiler/mlir/lite/transforms/passes.h.inc"
    
    struct LegalizeJaxRandomPass
        : public impl::LegalizeJaxRandomPassBase<LegalizeJaxRandomPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(LegalizeJaxRandomPass)
    
      void runOnOperation() override;
    };
    
    inline ConstBytesAttr CustomOption(ImplicitLocOpBuilder *builder,
                                       const std::string &content) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/propagate_quantize_type.cc

    namespace {
    
    constexpr StringRef kDequantizeFunctionName = "composite_dequantize";
    
    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 {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/experimental/tac/transforms/cost_model.cc

          total_element_count += input_type.getNumElements();
        }
      }
      return total_element_count;
    }
    
    struct GetOpCostPass
        : mlir::PassWrapper<GetOpCostPass, OperationPass<func::FuncOp>> {
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(GetOpCostPass)
    
      llvm::StringRef getArgument() const final { return "tfl-get-op-cost"; }
      llvm::StringRef getDescription() const final {
        return "Get cost for every op";
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_quantization_unit_loc.cc

    // Adds QuantizationUnitLoc to quantizable layers.
    class AddQuantizationUnitLocPass
        : public PassWrapper<AddQuantizationUnitLocPass,
                             OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(AddQuantizationUnitLocPass)
      explicit AddQuantizationUnitLocPass() = 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
    - 7.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/legalize_hashtables.cc

    // TensorFlow Lite hash table kernels.
    class LegalizeHashTablesPass
        : public impl::LegalizeHashTablesPassBase<LegalizeHashTablesPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(LegalizeHashTablesPass)
    
      void runOnOperation() override {
        auto module = getOperation();
    
        if (!checkWhetherGraphHasValidStaticLookupTables(module)) {
          return;
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

    #include "tensorflow/compiler/mlir/lite/transforms/passes.h.inc"
    
    // Applies all the clean up steps after quantization.
    class PostQuantizePass : public impl::PostQuantizePassBase<PostQuantizePass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PostQuantizePass)
    
      // Constructor used by the PassRegistration. This will remove the adaptor ops.
      explicit PostQuantizePass() { this->emit_quant_adaptor_ops_ = false; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top