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

Move imports out of functions #423

Open
adamltyson opened this issue May 23, 2024 · 0 comments
Open

Move imports out of functions #423

adamltyson opened this issue May 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@adamltyson
Copy link
Member

TensorFlow creates a lot of noise on the console, so the solution used to be:

  • Silence these warnings
  • Import TF within functions so that it could be silenced before import

Now with the move to torch, this shouldn't be necessary, so we can move all the imports back to the top of files where they belong.

cc @IgorTatarnikov

@adamltyson adamltyson added the enhancement New feature or request label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant