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

Fix a typo in the example code of HGTLoader #5161

Merged
merged 2 commits into from
Aug 8, 2022
Merged

Conversation

JihoChoi
Copy link
Contributor

@JihoChoi JihoChoi commented Aug 8, 2022

Fix a typo in the example code of HGTLoader().

https://pytorch-geometric.readthedocs.io/en/latest/modules/loader.html#torch_geometric.loader.HGTLoader

Previous

loader = HGTLoader(
    ...
    input_nodes=('paper': hetero_data['paper'].train_mask),
)

Fixed

loader = HGTLoader(
    ...
    input_nodes=('paper', hetero_data['paper'].train_mask),
)

@codecov
Copy link

codecov bot commented Aug 8, 2022

Codecov Report

Merging #5161 (83222c2) into master (4433455) will decrease coverage by 1.89%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5161      +/-   ##
==========================================
- Coverage   84.88%   82.98%   -1.90%     
==========================================
  Files         333      333              
  Lines       18369    18365       -4     
==========================================
- Hits        15592    15240     -352     
- Misses       2777     3125     +348     
Impacted Files Coverage Δ
torch_geometric/loader/hgt_loader.py 90.56% <ø> (ø)
torch_geometric/nn/models/dimenet_utils.py 0.00% <0.00%> (-75.52%) ⬇️
torch_geometric/nn/models/dimenet.py 14.51% <0.00%> (-53.00%) ⬇️
torch_geometric/nn/conv/utils/typing.py 81.25% <0.00%> (-17.50%) ⬇️
torch_geometric/profile/profile.py 32.94% <0.00%> (-15.30%) ⬇️
torch_geometric/nn/inits.py 67.85% <0.00%> (-7.15%) ⬇️
torch_geometric/nn/resolver.py 88.00% <0.00%> (-6.00%) ⬇️
torch_geometric/transforms/add_self_loops.py 94.44% <0.00%> (-5.56%) ⬇️
torch_geometric/io/tu.py 93.90% <0.00%> (-2.44%) ⬇️
torch_geometric/transforms/virtual_node.py 97.56% <0.00%> (-2.44%) ⬇️
... and 9 more

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@rusty1s rusty1s changed the title Fix a typo in the example code of HGTLoader() Fix a typo in the example code of HGTLoader Aug 8, 2022
@rusty1s rusty1s merged commit 8f27635 into pyg-team:master Aug 8, 2022
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.

3 participants