Skip to content

segfault when converting an empty tensor to numpy #181

Description

@bamos
In [1]: import torch
In [2]: A = torch.Tensor()
In [3]: A.numpy()
[1]    31780 segmentation fault (core dumped)  ipython3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions