Android 13.0.0 release 20
[automerger skipped] [automerged blank] Merge remote-tracking branch 'aosp/upstream-master' to 'aosp/master' for external/ruy. 2p: 380f85132f am: ce41e9d6f0 -s ours

am skip reason: Merged-In I71df6832de5c6fb310e9c2c97cdf361fc9074e80 with SHA-1 0cdefb826c is already in history

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

Change-Id: I52860e7e7e6a5d483491f095fe7affd6d450adea
tree: 81d7508721085bfb6debe2539a2ca5c385298795
  1. cmake/
  2. doc/
  3. example/
  4. ruy/
  5. third_party/
  6. .gitignore
  7. Android.bp
  8. BUILD
  9. CMakeLists.txt
  10. CONTRIBUTING.md
  11. LICENSE
  12. README.md
  13. 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.