Skip to content

rand() method for complex dtype #34380

@anjali411

Description

@anjali411

Similar to https://github.com/pytorch/pytorch/pull/34037/files we can view a complex tensor as a float tensor and pass it to uniform_ used by rand

cc @ezyang @anjali411 @dylanbespalko

Metadata

Metadata

Assignees

Labels

good first issuemodule: complexRelated to complex number support in PyTorchtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions