commit | 939449243eb36e5b668cc00a1c936f2b1ad4dc27 | [log] [tgz] |
---|---|---|
author | Benoit Jacob <benoitjacob@google.com> | Tue Mar 09 19:37:44 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Mar 09 19:38:06 2021 -0800 |
tree | e40f3aa5849a31e132c064b6773bde317899507b | |
parent | b0e97e627db281e2f2d79ac84333a93452173ccd [diff] |
Simplify some code and add release assertions to help debug a crash in an application. PiperOrigin-RevId: 361953871
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.