powered by
Returns float16 on CUDA, float32 on CPU.
whisper_dtype(device = whisper_device())
torch dtype
torch device
# \donttest{ if (torch::torch_is_installed()) { dtype <- whisper_dtype() dtype } # }
Run the code above in your browser using DataLab