Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data.edge_subgraph and utility functions #6193

Merged
merged 6 commits into from
Dec 9, 2022
Merged

data.edge_subgraph and utility functions #6193

merged 6 commits into from
Dec 9, 2022

Conversation

rusty1s
Copy link
Member

@rusty1s rusty1s commented Dec 9, 2022

  • Adds data.edge_subgraph(subset)
  • Adds mask_select(src, dim, mask) for 1-D masks
  • Adds data.node_attrs() and data.edge_attrs()
  • Adds data.generate_ids()

@codecov
Copy link

codecov bot commented Dec 9, 2022

Codecov Report

Merging #6193 (55abde2) into master (865f7ce) will increase coverage by 0.03%.
The diff coverage is 98.30%.

@@            Coverage Diff             @@
##           master    #6193      +/-   ##
==========================================
+ Coverage   84.45%   84.48%   +0.03%     
==========================================
  Files         371      371              
  Lines       20677    20725      +48     
==========================================
+ Hits        17462    17509      +47     
- Misses       3215     3216       +1     
Impacted Files Coverage Δ
torch_geometric/data/hetero_data.py 94.96% <90.90%> (-0.11%) ⬇️
torch_geometric/data/data.py 92.60% <100.00%> (+0.38%) ⬆️
torch_geometric/data/storage.py 79.63% <100.00%> (+0.25%) ⬆️
torch_geometric/utils/__init__.py 100.00% <100.00%> (ø)
torch_geometric/utils/mask.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@rusty1s rusty1s merged commit f343295 into master Dec 9, 2022
@rusty1s rusty1s deleted the edge_subgraph branch December 9, 2022 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant