Save Tensorflow graph for viewing in Tensorboard without summary operations

后端 未结 5 2243
南旧
南旧 2021-01-01 17:55

I have a rather complicated Tensorflow graph that I\'d like to visualize for optimization purposes. Is there a function that I can call that will simply save the graph for v

5条回答
  •  梦毁少年i
    2021-01-01 18:28

    For efficiency, the tf.train.SummaryWriter logs asynchronously to disk. To ensure that the graph appears in the log, you must call close() or flush() on the writer before the program exits.

提交回复
热议问题