Skip to content

Add shuffle() to HData #78

@tizianocitro

Description

@tizianocitro

Currently, HData does not provide a built-in way to shuffle the internal hyperedge_index. In many workflows (e.g., training loops, sampling strategies, batching), shuffling is a common and necessary operation. Adding a shuffle() method would improve usability.

We also need to add a shuffle option to HData methods like cat_*.

Metadata

Metadata

Assignees

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