tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

Feedback about Tensors

Open Zhunzh opened this issue 2 months ago • 0 comments

There is the following issue on this page: https://docs.pytorch.org/tutorials/beginner/basics/tensorqs_tutorial.html if torch.cuda.is_available(): tensor = tensor.to(torch.accelerator.current_accelerator()) has a problem that module 'torch' has no attribute 'accelerator'

Zhunzh avatar Oct 30 '25 09:10 Zhunzh