ctongfei / nexus

Experimental tensor-typed deep learning
https://tongfei.me/nexus/
MIT License
257 stars 15 forks source link

Support Half / Float16 floating point type #7

Open fvlankvelt opened 6 years ago

fvlankvelt commented 6 years ago

Using Half Float / 16-bit floating point number reduces the requirements on memory and more operations can be carried out in the same time.

fvlankvelt commented 6 years ago

Existing java implementation of Float16 has been parked at https://github.com/fvlankvelt/nexus/tree/support-half-floating-point Note that the Half code was made available under Apache 2 license, not MIT. AFAIK, these are compatible but some comments indicating the precise license is appropriate.