Skip to content

add graph_net_sample_groups_util.py and graph_net_sample_util.py#658

Merged
lixinqi merged 2 commits intoPaddlePaddle:developfrom
ywh555hhh:feat-sample-groups-util-v3
Mar 3, 2026
Merged

add graph_net_sample_groups_util.py and graph_net_sample_util.py#658
lixinqi merged 2 commits intoPaddlePaddle:developfrom
ywh555hhh:feat-sample-groups-util-v3

Conversation

@ywh555hhh
Copy link
Contributor

PR Category

Feature Enhancement

Description

  • get_all_graph_net_sample_groups: get groups from DB with filters
  • GraphNetSampleTypeGetter: get sample_type for a given sample_uid
  • GraphNetSampleOpSeqGetter: get op_seq for a given sample_uid
  • Both getters support bulk_get for batch operations
  • Tested with real downstream: util.filter_valid_groups

- get_all_graph_net_sample_groups: get groups from DB with filters
- GraphNetSampleTypeGetter: get sample_type for a given sample_uid
- GraphNetSampleOpSeqGetter: get op_seq for a given sample_uid
- Both getters support bulk_get for batch operations
- Tested with real downstream: util.filter_valid_groups
@paddle-bot
Copy link

paddle-bot bot commented Mar 3, 2026

Thanks for your contribution!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

把这些文件都放到 sqlite/util/下吧。

- Move graph_net_sample_groups_util.py to sqlite/util/
- Move graph_net_sample_util.py to sqlite/util/
- Update imports to use sqlite.orm_models
@lixinqi lixinqi merged commit 11ebd1d into PaddlePaddle:develop Mar 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants