commit | fc9e6cc54ca4acfeade217f2acdf165cb4f735a7 | [log] [tgz] |
---|---|---|
author | Xin Li <[email protected]> | Mon Apr 29 22:16:20 2024 +0000 |
committer | Automerger Merge Worker <[email protected]> | Mon Apr 29 22:16:20 2024 +0000 |
tree | 8e9ad84e9f0e111f0b67522627a9034074223408 | |
parent | 3a16d81ed9dc8991ab9f531da6b4f76ce65a93e2 [diff] | |
parent | fae850ec1f3b7529474a19ece429d4addf9772ef [diff] |
[automerger skipped] Empty merge of Android 24Q2 Release (ab/11526283) to aosp-main-future am: fae850ec1f -s ours am skip reason: Merged-In I31f8668b6226f888097e9dd41f0a4eb7cf570437 with SHA-1 127564d6e6 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/ruy/+/27142031 Change-Id: I344d73206406d6205d22ecb6798f0bd0be156b01 Signed-off-by: Automerger Merge Worker <[email protected]>
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.