Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PropagateTransposedPerAxisQuantDim (0.54 sec)

  1. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

        return ConvertOpStatsToQDQs<TFL::SVDFOp>::processInputs(
            op, op_variant, op_property, rewriter);
      }
    };
    
    class PropagateTransposedPerAxisQuantDim
        : public OpRewritePattern<TFL::TransposeOp> {
     public:
      explicit PropagateTransposedPerAxisQuantDim(MLIRContext* context)
          : OpRewritePattern<TFL::TransposeOp>(context) {}
      LogicalResult matchAndRewrite(TFL::TransposeOp transpose_op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/prepare_quantize.cc

        patterns_1.add<PrepareLstmOutputScale<UnidirectionalSequenceLSTMOp>>(ctx);
      }
      if (is_qdq_conversion_ ||
          quant_specs_.qdq_conversion_mode != quant::QDQConversionMode::kQDQNone) {
        patterns_1.add<PropagateTransposedPerAxisQuantDim>(ctx);
      }
      (void)applyPatternsAndFoldGreedily(func, std::move(patterns_1));
    
      // During the legalization, unsigned quantized type is used, so we have to
      // convert all of them to signed.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

          // and `RequiredSameQuantizedAxes` set to false.
          // Currently, these lines of code are only applicable to TFL_TransposeOp
          // and the output q-dq propagation for this Op is performed in
          // `PropagateTransposedPerAxisQuantDim`.
          if (is_qdq_conversion_ &&
              !scale_spec->required_same_quantized_axes_func()) {
            if (HasPerAxisQuantizedOperand(op)) continue;
          }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
Back to top