Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for qdq (0.01 sec)

  1. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.cc

      }
    
      tensorflow::AddQuantizationPasses(mlir::TFL::PassConfig(quant_specs), pm);
      pm.addPass(TFL::CreateModifyIONodesPass(input_mlir_type, output_mlir_type));
      // If the first or final ops are not quantized, remove QDQ.
      pm.addPass(TFL::CreatePostQuantizeRemoveQDQPass());
      if (failed(pm.run(module.get()))) {
        const std::string err(statusHandler.ConsumeStatus().message());
        LOG(ERROR) << "Failed to quantize: " << err;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/optimize_batch_matmul.cc

        DenseElementsAttr constant;
        if (auto rhs = bmm_op.getY(); !matchPattern(rhs, m_Constant(&constant))) {
          // The constant may be preceded by QDQs in models with QDQ format, so we
          // should set it to the real constant.
          auto dq = dyn_cast_or_null<DequantizeOp>(rhs.getDefiningOp());
          if (!dq) return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top