Skip to content

Feedback about Tensors #3629

@Zhunzh

Description

@Zhunzh

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions