espnet2.asr.transducer.rnnt_multi_blank.utils.global_constants.dtype
Less than 1 minute
espnet2.asr.transducer.rnnt_multi_blank.utils.global_constants.dtype
espnet2.asr.transducer.rnnt_multi_blank.utils.global_constants.dtype()
Return the data type used in the computation.
This function retrieves the global data type defined for numerical operations within the package. The current implementation uses float32 from the Numba library for performance optimization, particularly in GPU computations.
- Returns: The data type (currently set to float32).
- Return type: dtype
Examples
>>> dt = dtype()
>>> print(dt)
<class 'numba.float32'>
NOTE
The data type can be adjusted if needed for different precision requirements or hardware capabilities.
- Raises:None – This function does not raise any exceptions.