Add API to collect output_col_minmax_histogram
Summary:
Add an API to collect output_col_minmax_histogram. This is used to implement input_equalization.
Roll back revised the collect_single_histogram in the new version to make sure it does not affect the product.
The newly added one can implement collect the activation histogram and output col max histogram at the same time.
Test Plan:
Add a unit test, and pass it.
https://our.intern.facebook.com/intern/testinfra/testrun/2251799847601374
After updating the dump API, it passed the updated unit test
https://our.intern.facebook.com/intern/testinfra/testrun/844425097716401
Integrated the output_col_minmax_histogram to the collect single histogram, and make it downward compatible
https://our.intern.facebook.com/intern/testinfra/testrun/8162774342207893
I added different cases to tested newly added function. It passed the unit test https://our.intern.facebook.com/intern/testinfra/testrun/4503599658969000
Tested after new revision: https://our.intern.facebook.com/intern/testinfra/testrun/5348024589078557
Reviewed By: hx89
Differential Revision: D22919913
fbshipit-source-id: c9cb05e0cf14af0dfde3d22921abb42f97a61df2