Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PatternBenefit (0.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

        return success();
      }
    };
    
    class ConvertControlTriggerOp : public ConversionPattern {
     public:
      explicit ConvertControlTriggerOp(MLIRContext *context)
          : ConversionPattern("tfg.ControlTrigger", PatternBenefit(1), context) {}
    
      LogicalResult matchAndRewrite(
          Operation *op, llvm::ArrayRef<Value> operands,
          ConversionPatternRewriter &rewriter) const final {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

     public:
      explicit ConvertOpStatsToQDQs(MLIRContext* context,
                                    const quant::QuantizationSpecs& quant_specs,
                                    PatternBenefit benefit = 1)
          : OpRewritePattern<SourceOp>(context, benefit),
            quant_specs_(quant_specs) {}
    
     protected:
      quant::QuantizationSpecs quant_specs_;
    
      LogicalResult processInputs(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top