TensorFlow Interview Questions and Answers
Question: Explain the purpose of the tf.summary module in TensorFlow.Answer: The tf.summary module is used for creating summaries of training metrics and visualizations. It is commonly used with TensorFlow's TensorBoard for monitoring and debugging models.Example: summary_writer = tf.summary.create_file_writer(logdir) with summary_writer.as_default(): tf.summary.scalar('loss', loss, step=epoch) |
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: