Bug: 180660762

Clone this repo:
  1. 52c5b21 Remove external/ruy/.gitmodules and submodule directories. am: 8931679bde am: 683842157f am: fcc4bc8baf by Raman Tenneti · 4 months ago master
  2. fcc4bc8 Remove external/ruy/.gitmodules and submodule directories. am: 8931679bde am: 683842157f by Raman Tenneti · 4 months ago
  3. 6838421 Remove external/ruy/.gitmodules and submodule directories. am: 8931679bde by Raman Tenneti · 4 months ago android-s-v2-preview-1 android-s-v2-beta-2 android-s-v2-preview-2
  4. 8931679 Remove external/ruy/.gitmodules and submodule directories. by Raman Tenneti · 4 months ago
  5. d4ddc68 Merge remote-tracking branch 'aosp/upstream-master' to 'aosp/master' for external/ruy. am: b635c099fe am: 6cb29cf3e2 am: f058a5f8c9 by Ian Hua · 5 months ago

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.