commit | 0a3dd72c00d27c1b37f35a638a97e1cfa506dd61 | [log] [tgz] |
---|---|---|
author | Ian Hua <ianhua@google.com> | Mon Aug 16 17:20:47 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Aug 16 17:20:47 2021 +0000 |
tree | 420dd314b49b6a7f5772ae3cb6e5f738520572b8 | |
parent | 033350c4252004f65e85e8d547b473ae28ebd158 [diff] | |
parent | d4ddc68d70a2a5d9006ec93f1927819baea347be [diff] |
Merge remote-tracking branch 'aosp/upstream-master' to 'aosp/master' for external/ruy. am: b635c099fe am: 6cb29cf3e2 am: f058a5f8c9 am: d4ddc68d70 Original change: https://android-review.googlesource.com/c/platform/external/ruy/+/1793687 Change-Id: If3277202dc5c34bef0f9fa1da383eb7621ef837f
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.