Upstream the Quantizer tool (part 3).
authorStella Laurenzo <laurenzo@google.com>
Sat, 18 May 2019 00:43:50 +0000 (17:43 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Mon, 20 May 2019 20:46:43 +0000 (13:46 -0700)
commit8e5bfb85c44916ef581675ea5a68e062d85624fd
treeaeec4f46106cb44c5d8bb6483c7a86da4e884932
parent1a100849c46e1a1c2cf0cba04aaad64e689d06d1
Upstream the Quantizer tool (part 3).

    This upstreams the config and constraints for a reference quantization scheme based on the FxpMathOps dialect.

    There are probably two more CLs to get the rest: one with the passes/tests, and one with the tool main() itself.

--

PiperOrigin-RevId: 248817505
mlir/include/mlir/Quantizer/Configurations/FxpMathConfig.h [new file with mode: 0644]
mlir/include/mlir/Quantizer/Support/UniformConstraints.h [new file with mode: 0644]
mlir/lib/Quantizer/Configurations/FxpMathConfig.cpp [new file with mode: 0644]
mlir/lib/Quantizer/Support/UniformConstraints.cpp [new file with mode: 0644]