Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetQuantizableOps (0.36 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_weight.cc

      LogicalResult matchAndRewrite(ConstantOp op,
                                    PatternRewriter& rewriter) const override {
        // 1. Collect quantizable ops.
        QuantizationUnits quantizable_ops = GetQuantizableOps(op);
        if (quantizable_ops.empty()) {
          return failure();
        }
    
        // 2. Quantize collected ops.
        if (!QuantizeOps(rewriter, op, quantizable_ops)) {
          return failure();
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc

      LogicalResult matchAndRewrite(arith::ConstantOp op,
                                    PatternRewriter& rewriter) const override {
        QuantizationUnits quantizable_ops;
    
        // 1. Collect quantizable ops.
        if (!(getQuantizableOps(op, quantizable_ops))) {
          return failure();
        }
    
        // 2. Quantize collected ops. It is immediately quantized by inserting Q-DQ
        // pair for int8.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc

      LogicalResult matchAndRewrite(arith::ConstantOp op,
                                    PatternRewriter& rewriter) const override {
        QuantizationUnits quantizable_ops;
    
        // 1. Collect quantizable ops.
        if (!(getQuantizableOps(op, quantizable_ops))) {
          return failure();
        }
    
        // 2. Quantize collected ops. It is immediately quantized by inserting Q-DQ
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top