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

Execute histogram bucketing logic only when summary is written for tf.summary.histogram() #2894

Closed
wants to merge 2 commits into from

Conversation

hongjunChoi
Copy link
Contributor

Currently for histogram summary, bucketing logic is executed every step regardless whether tf.summary.record_if() is satisfied or not.. As so, pass in callable that returns tensor to tf.summary.write() instead of directly passing tensor.

@hongjunChoi hongjunChoi changed the title Update summary_v2.py Encode image data only when summary is written for tf.summary.image() Nov 5, 2019
@hongjunChoi hongjunChoi changed the title Encode image data only when summary is written for tf.summary.image() Execute histogram bucketing logic only when summary is written for tf.summary.histogram() Nov 5, 2019
@nfelt
Copy link
Contributor

nfelt commented Nov 7, 2019

Closing in favor of #2899 which has now been merged.

@nfelt nfelt closed this Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants