Search code examples
pythontensorflowtensorboard

How can I get the file name of a tf.summary.FileWriter in TensorFlow?


How can I get the file name of a tf.summary.FileWriter (mirror) in TensorFlow?

I am aware that I can use get_logdir() but I don't see any similar method to access the file name.


Solution

  • There is no way to get the filename as it's built on the other side of the C++/python interface.

    That said, listing the logdir after writing will let you see what is there.