KEMBAR78
complex abs strides are wrong on empty tensors and tensors with 1 dimension · Issue #77731 · pytorch/pytorch · GitHub
Skip to content

complex abs strides are wrong on empty tensors and tensors with 1 dimension #77731

@mruberry

Description

@mruberry

Because it uses empty_like, which doesn't create contiguous strides for empty tensors or tensors with one dimension

cc @ezyang @anjali411 @dylanbespalko @mruberry @lezcano @nikitaved @ngimel

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: complexRelated to complex number support in PyTorchmodule: primTorchtriagedThis 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