Skip to content
fn

is_autocast_eligible

bool is_autocast_eligible(Dtype dt)

Whether autocast may recast a tensor of this dtype. float64, complex, integer and bool tensors keep their dtype under every policy.