[auto quant] Add quant_scheme_generator to interface with dper
Summary:
Add quant_scheme_generator that will be used to interface with dper.
Also updated two related functions:
- Add batch_size option to save_local_dataset() in dataset utils to be more flexible.
Test Plan:
Tested in the stacked diff D19747206.
buck test deeplearning/numeric_suite/toolkit/test:int8_static_utils_test
Reviewed By: csummersea
Differential Revision: D19745159
fbshipit-source-id: a4ac1ef0ffdddc68bdf5e209ae801b8c475d0b96