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

gtab.info does not print anything #2331

Closed
BramshQamar opened this issue Mar 15, 2021 · 2 comments · Fixed by #2333
Closed

gtab.info does not print anything #2331

BramshQamar opened this issue Mar 15, 2021 · 2 comments · Fixed by #2333

Comments

@BramshQamar
Copy link
Contributor

def info(self):
info from GradientTable doesn't print anything in Spyder and Jupyter. Perhaps because it uses logger which might be disabled by Spyder and Jupyter and works best for CLIs only?

@arokem
Copy link
Contributor

arokem commented Mar 15, 2021

Yep. Using logging here was probably overkill. We should change that back to print

@arokem
Copy link
Contributor

arokem commented Mar 15, 2021

Alternatively, we could implement a proper __repr__ for this object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants