# tensorplay.amp.autocast_mode.get_autocast_cpu_dtype

Source: https://www.tensorplay.cn/docs/generated/tensorplay.amp.autocast_mode.get_autocast_cpu_dtype.html

# tensorplay.amp.autocast_mode.get_autocast_cpu_dtype

tensorplay.amp.autocast_mode.get_autocast_cpu_dtype()[[source]](../_modules/tensorplay/amp/autocast_mode.html#get_autocast_cpu_dtype)

Return the dtype to be used for CPU autocasting.

Warning

Kept for backward compatibility. Prefer get_autocast_dtype().
