Snap for 8589293 from 3ea0147b78bf3032008133edeb5e4e4927fa5225 to sc-v2-platform-release am: aaf150df97

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/ruy/+/18441712

Change-Id: I7aab3bfd8cfd232e79febf70b4075148677b7c33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: 420dd314b49b6a7f5772ae3cb6e5f738520572b8
  1. cmake/
  2. doc/
  3. example/
  4. ruy/
  5. third_party/
  6. .gitignore
  7. .gitmodules
  8. Android.bp
  9. BUILD
  10. CMakeLists.txt
  11. CONTRIBUTING.md
  12. LICENSE
  13. README.md
  14. WORKSPACE
README.md

The ruy matrix multiplication library

This is not an officially supported Google product.

ruy is a matrix multiplication library. Its focus is to cover the matrix multiplication needs of neural network inference engines. Its initial user has been TensorFlow Lite, where it is used by default on the ARM CPU architecture.

ruy supports both floating-point and 8bit-integer-quantized matrices.

Efficiency

ruy is designed to achieve high performance not just on very large sizes, as is the focus of many established libraries, but on whatever are the actual sizes and shapes of matrices most critical in current TensorFlow Lite applications. This often means quite small sizes, e.g. 100x100 or even 50x50, and all sorts of rectangular shapes. It's not as fast as completely specialized code for each shape, but it aims to offer a good compromise of speed across all shapes and a small binary size.

Documentation

Some documentation will eventually be available in the doc/ directory, see doc/README.md.