commit | fe4e0f73fcc507f605eaa199df3c51865abf6ece | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Mon Nov 14 09:22:07 2016 -0800 |
committer | Romain Guy <romainguy@google.com> | Mon Nov 14 09:41:00 2016 -0800 |
tree | 13040bd2c06fbf986f9c0355e0e4c3418ec267c8 | |
parent | 4496c84792fa4aedd1ab13c45e1861595df37f7c [diff] |
Add @HalfFloat annotation to mark fp16 values stored in shorts Half-precision float values can be converted to/from floats using android.util.Half. Half-precision floats are stored in shorts which makes this annotation useful to distinguish between regular shorts and shorts that hold fp16 values. Test: source level annotation only Bug: 29940137 Change-Id: I1982d2ca6a3a17289af7853410f4e74344eaa7f6