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

Renamed transform functionals to avoid overridden imports #11

Conversation

TorchDSP
Copy link
Owner

This update changes the naming scheme of the transform/functional code. Previously, each transform category contained a similarly named functional.py file. Issue #2 identified that this identical naming scheme resulted in the functional code being overridden when imported. While this is not necessarily an issue for the transform pipeline, it limits the functional codes' use-cases and is misleading when attempting to import these functions directly. By renaming the functional code to be more specific to each category, we overcome the import overriding issue (closes issue #2 ) and we make the toolkit more flexible for individuals who may want to use the functional code directly, outside of the expected ML training pipeline.

@TorchDSP TorchDSP linked an issue Oct 19, 2022 that may be closed by this pull request
@TorchDSP TorchDSP merged commit 0cd4b84 into main Oct 19, 2022
@TorchDSP TorchDSP deleted the 2-torchsigtransforms-subpackage-does-not-export-its-contents-correctly branch October 19, 2022 13:44
ereoh pushed a commit that referenced this pull request Sep 25, 2024
Co-authored-by: Luke Boegner <luke.boegner@peratonlabs.com>
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.

torchsig.transforms subpackage does not export its contents correctly
1 participant