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

Removed SAMPLED_OP flag from torch_geometric/typing.py #10023

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pbielak
Copy link
Contributor

@pbielak pbielak commented Feb 12, 2025

The SAMPLED_OP flag was used some time ago in the softmax implementation (torch_geometrics/utils/softmax.py) and with commit: d7e03c7 its usage was removed. However, the flag is still present in the torch_geometric/typing.py file.

@pbielak pbielak force-pushed the dev/pbielak/remove-unused-flag branch from 577c555 to 3850381 Compare February 12, 2025 12:20
@pbielak pbielak changed the title Remove SAMPLED_OP flag from torch_geometric/typing.py Removed SAMPLED_OP flag from torch_geometric/typing.py Feb 12, 2025
@rusty1s
Copy link
Member

rusty1s commented Feb 12, 2025

I think we can keep it IMO. No strong pref.

@pbielak
Copy link
Contributor Author

pbielak commented Feb 13, 2025

Also IMO if we don't use a particular code fragment anymore, it should be removed ;)

@pbielak pbielak force-pushed the dev/pbielak/remove-unused-flag branch from d1f04aa to 0f59500 Compare February 13, 2025 08:49
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