Skip to content

.random_ not implemented for cuda tensors #712

@gregjohnso

Description

@gregjohnso

torch.Tensor(10).random_(0,10) #works
torch.Tensor(10).random_(0,10).cuda() #works
torch.Tensor(10).cuda().random_(0,10) #does not work

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