Skip to content

Allowed to save profiler log to file #16

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

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

Conversation

trinetra75
Copy link

@trinetra75 trinetra75 commented Oct 10, 2022

Added extra parameters to the get_flops() function so to change tf.profiler options in order to change result order and/or save the log to some specified file

This is necessary since the redirect_stdout of the contextlib module does not work on the output of the tf.profile log

Added extra parameters to the get_flops() function so to change tf.profiler options
in order to change result order and/or save the log to some specified file
Aligned preparation of the ProfileOptionBuilder to given examples.
No functionality changes are present.
@trinetra75
Copy link
Author

trinetra75 commented Oct 11, 2022

The tests below failed due to some test configuration issues...
When I run the rests on my machine they passed without any issue

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.

1 participant