commit | f535b38fa991ab325644939ddc1128844e4327b5 | [log] [tgz] |
---|---|---|
author | Benoit Jacob <benoitjacob@google.com> | Tue Mar 10 16:28:24 2020 -0400 |
committer | Benoit Jacob <benoitjacob@google.com> | Tue Mar 10 16:44:11 2020 -0400 |
tree | 841a90d78f74cc529bf5552903f0e0b3a80709dd | |
parent | 930045e41ca7df5616b486812cacee4a74544257 [diff] |
Do not depend on TensorFlow's config_setting's. PiperOrigin-RevId: 300165710
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 maximal 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.
ruy is currently only optimized for the ARM architectures (both 64-bit and 32-bit code). Optimization for the Intel x86 architecture is in progress.
ruy is currently optimized only for the following combination of storage orders: LHS = row-major, RHS = column-major, destination = column-major. All other combinations of storage orders fall back to slow reference code at the moment.