Skip to content

pycauset.Float16Matrix

A memory-mapped dense matrix storing 16-bit floating point numbers (half precision). Inherits from MatrixBase.

Constructor

pycauset.Float16Matrix(n: int)
pycauset.Float16Matrix(rows: int, cols: int)
pycauset.Float16Matrix(array: numpy.ndarray)

When constructed from a NumPy array, the array must be rank-2 with dtype float16.

Notes

Half precision is primarily a storage and bandwidth optimization. Supported operations are gated by the support matrix (see documentation/internals/DType System.md).