- Mastering TensorFlow 1.x
- Armando Fandango
- 201字
- 2021-06-25 22:50:58
TensorBoard details
TensorBoard works by reading log files generated by TensorFlow. Thus, we need to modify the programming model defined here to incorporate additional operation nodes that would produce the information in the logs that we want to visualize using TensorBoard. The programming model or the flow of programs with TensorBoard can be generally stated as follows:
- Create the computational graph as usual.
- Create summary nodes. Attach summary operations from the tf.summary package to the nodes that output the values that you wish to collect and analyze.
- Run the summary nodes along with running your model nodes. Generally, you would use the convenience function, tf.summary.merge_all(), to merge all the summary nodes into one summary node. Then executing this merged node would basically execute all the summary nodes. The merged summary node produces a serialized Summary ProtocolBuffers object containing the union of all the summaries.
- Write the event logs to disk by passing the Summary ProtocolBuffers object to a tf.summary.FileWriter object.
- Start TensorBoard and analyze the visualized data.
In this section, we did not create summary nodes but used TensorBoard in a very simple way. We will cover the advanced usage of TensorBoard later in this book.
推薦閱讀
- Aftershot Pro:Non-destructive photo editing and management
- 24小時學(xué)會電腦組裝與維護(hù)
- 辦公通信設(shè)備維修
- 現(xiàn)代辦公設(shè)備使用與維護(hù)
- 硬件產(chǎn)品經(jīng)理手冊:手把手構(gòu)建智能硬件產(chǎn)品
- 單片機原理及應(yīng)用系統(tǒng)設(shè)計
- The Deep Learning with Keras Workshop
- 龍芯自主可信計算及應(yīng)用
- 筆記本電腦維修實踐教程
- Managing Data and Media in Microsoft Silverlight 4:A mashup of chapters from Packt's bestselling Silverlight books
- 單片機技術(shù)及應(yīng)用
- WebGL Hotshot
- USB應(yīng)用分析精粹:從設(shè)備硬件、固件到主機端程序設(shè)計
- The Applied Artificial Intelligence Workshop
- 主板維修實踐技術(shù)