Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsQuantType (0.09 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/verify_quant_legalization.cc

      Operation* func_op = getOperation();
    
      auto walk_result = func_op->walk([&](Operation* op) {
        // Verify all uq and qint types are lowered.
        if (llvm::any_of(op->getOperandTypes(), IsQuantType) ||
            llvm::any_of(op->getResultTypes(), IsQuantType) ||
            IsTFUniformQuantizedOp(op) || IsMhloUniformQuantizedOp(*op)) {
          op->emitOpError("is illegal as it is a UQ op or contains uq/qint types");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top