Float16¶ class dsviper.Float16¶ Bases: object A class used to handle float16 representation. Note: Not directly instantiable. static from_float(v: float) → int¶ Return the float16 as an unsigned int. static to_float(v: int) → float¶ Return the float from an unsigned int representing a float16 storage.