Skip to content

R Session Aborted when using $to_sparse() #1286

@edwardduanhao

Description

@edwardduanhao

require(torch)
A = nnf_one_hot(rep(1:10, 31:40))
A$to_sparse()

Then the session will be aborted. It should not be a memory overflow.
Session information is attached.

Image

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