commit | 34f1aa7f3b8712aee21883da774cf11020d09b38 | [log] [tgz] |
---|---|---|
author | Keichi Takahashi <keichi.t@me.com> | Fri Sep 10 11:07:41 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Sep 10 11:08:20 2021 -0700 |
tree | 1ed12c0c58024baf08b981dc9166058fb7a339a7 | |
parent | 9c56af3fce210a8a103eda19bd6f47c08a9e3d90 [diff] |
Fix error when compiling ruy_test_overflow_dst_zero_point with GCC This fixes the following compilation error: ``` In file included from /usr/include/c++/10/vector:67, from /home/keichi/Projects/ruy/ruy/test_overflow_dst_zero_point.cc:32: /usr/include/c++/10/bits/stl_vector.h: In instantiation of ‘class std::vector<const signed char>’: /home/keichi/Projects/ruy/ruy/test_overflow_dst_zero_point.cc:75:24: required from here /usr/include/c++/10/bits/stl_vector.h:401:66: error: static assertion failed: std::vector must have a non-const, non-volatile value_type 401 | static_assert(is_same<typename remove_cv<_Tp>::type, _Tp>::value, | ^~~~~ ``` Closes https://github.com/google/ruy/pull/278 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/ruy/pull/278 from keichi:fix-compilation-err 2e30471e9ce525f3a62337078cf2e80f17c966ff PiperOrigin-RevId: 395965795
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.