Skip to content

[Question] empty torch tensor from c++ to py #6

@hogura99

Description

@hogura99

We expect to get a tensor of size [0] when initializing it with {} in c++ and passing it to python. However the python actually got a None type.

image

When there is no data in scheduler, batch_info.data should be an empty tensor, but it is None.

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