Skip to content

Conversation

@hongjunChoi
Copy link
Contributor

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

@hongjunChoi hongjunChoi changed the title Pass callable to tf.summary.write() instead for audio summary Encode audio data only when summaries are written 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