Skip to content

Replace the dict to tensordict #374

@haleqiu

Description

@haleqiu

🚀 The feature, motivation and pitch

Dict is widely used within pypose. However, it does not follow the pypose's design philosophy: a torch-like library.

TensorDict supports tensor-like operations such as indexing, slicing, and concatenation, facilitating intuitive manipulation of tensor collections and transferring data across devices.
I suggest replacing the dict structure with tensordict in pypose.

https://pytorch.org/tensordict/stable/index.html

Alternatives

No response

Additional context

No response

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