深色模式
Download exercise.py
choose_device()
cuda
cpu
to_numpy_safe(t)
detach().cpu().numpy()
cd docs/programming/cuda/code python exercise.py
docs/programming/cuda/code/exercise.py