Add neural network classifier support to AssistRanker. The classifier needs to support quantized weights.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/ecb61d8e7011b60263f9bcf18292d61b23a71113 commit ecb61d8e7011b60263f9bcf18292d61b23a71113 Author: Jon Napper <napper@chromium.org> Date: Mon Dec 10 05:24:58 2018 Added AssistRanker NN classifier. Added single-layer neural network support to AssistRanker. Subsequent CLs will include quantization support and a classifier predictor. Subsequent patches will include support for quantization and a predictor that will support the NN classifier. Bug: 907727 Change-Id: I6889fd9eb083cdcb261b2a5c4a86236973b24918 Reviewed-on: https://chromium-review.googlesource.com/c/1369424 Reviewed-by: Charles . <charleszhao@chromium.org> Commit-Queue: Jon Napper <napper@chromium.org> Cr-Commit-Position: refs/heads/master@{#615050} [modify] https://crrev.com/ecb61d8e7011b60263f9bcf18292d61b23a71113/components/assist_ranker/BUILD.gn [add] https://crrev.com/ecb61d8e7011b60263f9bcf18292d61b23a71113/components/assist_ranker/nn_classifier.cc [add] https://crrev.com/ecb61d8e7011b60263f9bcf18292d61b23a71113/components/assist_ranker/nn_classifier.h [add] https://crrev.com/ecb61d8e7011b60263f9bcf18292d61b23a71113/components/assist_ranker/nn_classifier_test_util.cc [add] https://crrev.com/ecb61d8e7011b60263f9bcf18292d61b23a71113/components/assist_ranker/nn_classifier_test_util.h [add] https://crrev.com/ecb61d8e7011b60263f9bcf18292d61b23a71113/components/assist_ranker/nn_classifier_unittest.cc [modify] https://crrev.com/ecb61d8e7011b60263f9bcf18292d61b23a71113/components/assist_ranker/proto/BUILD.gn [add] https://crrev.com/ecb61d8e7011b60263f9bcf18292d61b23a71113/components/assist_ranker/proto/nn_classifier.proto
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/bb47b5460b82efa9e0f42df0ef5177641a599418 commit bb47b5460b82efa9e0f42df0ef5177641a599418 Author: Jon Napper <napper@chromium.org> Date: Wed Dec 12 01:45:05 2018 Added quantized NN classifier for AssistRanker. Added support for 8-bit quantized NN classifier models for AssistRanker. The model must be dequantized prior to inferencing. Bug: 907727 Change-Id: Ie52a55eb531eac9b3617dfd47bf27aa91b528347 Reviewed-on: https://chromium-review.googlesource.com/c/1370229 Reviewed-by: Charles . <charleszhao@chromium.org> Commit-Queue: Jon Napper <napper@chromium.org> Cr-Commit-Position: refs/heads/master@{#615767} [modify] https://crrev.com/bb47b5460b82efa9e0f42df0ef5177641a599418/components/assist_ranker/BUILD.gn [modify] https://crrev.com/bb47b5460b82efa9e0f42df0ef5177641a599418/components/assist_ranker/proto/BUILD.gn [add] https://crrev.com/bb47b5460b82efa9e0f42df0ef5177641a599418/components/assist_ranker/proto/quantized_nn_classifier.proto [add] https://crrev.com/bb47b5460b82efa9e0f42df0ef5177641a599418/components/assist_ranker/quantized_nn_classifier.cc [add] https://crrev.com/bb47b5460b82efa9e0f42df0ef5177641a599418/components/assist_ranker/quantized_nn_classifier.h [add] https://crrev.com/bb47b5460b82efa9e0f42df0ef5177641a599418/components/assist_ranker/quantized_nn_classifier_unittest.cc
Comment 1 by napper@chromium.org
, Nov 26