[automerger skipped] Merge Android 14 am: 6baa832718 -s ours am: c0b29e52ca -s ours am: ce3b94676b -s ours am: f529da723e -s ours am: d1c677bc7d -s ours

am skip reason: Merged-In Ica1fa16c35fc33aa7c76795607169970d583ce28 with SHA-1 050ae879b9 is already in history

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

Change-Id: I7554d54bfec30214ccf6929069fdcf7c8fe3055a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: 8e9ad84e9f0e111f0b67522627a9034074223408
  1. cmake/
  2. doc/
  3. example/
  4. ruy/
  5. third_party/
  6. .gitignore
  7. Android.bp
  8. BUILD
  9. CMakeLists.txt
  13. 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.


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.


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