cerebras.modelzoo.common.half_dtype#
Module which provides utilities for selecting 16-bit floating point representation.
Functions
Return tensor cast to half dtype if on CSX or autocast CPU/GPU ctx. |
|
Sets the half dtype in cstorch from the given model params. |