Is there a way to output a graph to tensorboard using C# SciSharp/TensorFlow.NET

30 Views Asked by At

In C# I have created a tensorflow graph using C# package

SciSharp/TensorFlow.NET

but would like to then view that graph in tensorboard to verify it is as expected. https://www.tensorflow.org/tensorboard/get_started

To do this I need to create a logfile for tensorboard to read. I am able to create an instance of the Tensorflow.Summaries.FileWriter C# class as follows.

var fw = tf.summary.FileWriter("mylogdirectory" ,mygraph);

but that seems to have no Flush() method like its python version. How would I get the instance to log something? Do I have to wrap my code in some sort of using statement?

0

There are 0 best solutions below