Searched refs:fqOp (Results 1 – 1 of 1) sorted by relevance
/external/llvm-project/mlir/lib/Dialect/Quant/Transforms/ |
D | ConvertSimQuant.cpp | 88 QuantizedType convertFakeQuantAttrsToType(ConstFakeQuant fqOp, in convertFakeQuantAttrsToType() argument 91 fqOp.getLoc(), fqOp.num_bits(), fqOp.min().convertToFloat(), in convertFakeQuantAttrsToType() 92 fqOp.max().convertToFloat(), fqOp.narrow_range(), expressedType, in convertFakeQuantAttrsToType() 93 fqOp.is_signed()); in convertFakeQuantAttrsToType() 107 QuantizedType convertFakeQuantAttrsToType(ConstFakeQuantPerAxis fqOp, in convertFakeQuantAttrsToType() argument 110 min.reserve(fqOp.min().size()); in convertFakeQuantAttrsToType() 111 max.reserve(fqOp.max().size()); in convertFakeQuantAttrsToType() 112 for (auto m : fqOp.min()) in convertFakeQuantAttrsToType() 114 for (auto m : fqOp.max()) in convertFakeQuantAttrsToType() 117 return fakeQuantAttrsToType(fqOp.getLoc(), fqOp.num_bits(), fqOp.axis(), in convertFakeQuantAttrsToType() [all …]
|