DataUtils

A class containing utility functions for data.

Methods

.toHalfFloat(val : Float) → Float

val — A single precision floating point value.

Returns a half precision floating point value from the given single precision floating point value.

.fromHalfFloat(val : Float) → Float

val — A half precision floating point value.

Returns a single precision floating point value from the given half precision floating point value.

Source

For more info on how to obtain the source code of this module see this page.