This function prints the available devices (cpu, cuda, mps) detected by PyTorch. If your mps/cuda device is not shown, check your PyTorch installation.
Examples
# \donttest{
try(
check_devices()
)# }
#> Available Devices:
#> * cpu (Main system processor)
#>
#> [1] "cpu"