# tensorplay.amp.autocast_mode.get_autocast_gpu_dtype Source: https://www.tensorplay.cn/docs/generated/tensorplay.amp.autocast_mode.get_autocast_gpu_dtype.html ```python tensorplay.amp.autocast_mode.get_autocast_gpu_dtype() ``` Return the dtype to be used for CUDA autocasting. > **Warning** > > Kept for backward compatibility. Prefer get_autocast_dtype().