tree: 5d2228f9c0b38ea3c42094c7632ce35a1aa35466 [path history] [tgz]
  1. example_preprocessing.cc
  2. example_preprocessing.h
  3. example_preprocessing_test.cc
  4. ranker_example_util.cc
  5. ranker_example_util.h
  6. ranker_example_util_test.cc
  7. README.md
ml/example_preprocessor/README.md

Example preprocessor

This is used in a feature-level ml-service. RankerExample proto contains a feature map from name to value, and ExamplePreprocessor can vectorize it to a float list with an ExamplePreprocessorConfig. The vectorized list can be used as tensor and fed to tflite models.

Files in this directory are copied from chromium repo: //components/assist_ranker/.

ranker_example.proto and example_preprocessor.proto in ../proto are copied from chromium repo: //components/assist_ranker/proto/