The export_tensorboard_sketch function#

Aliases#

halerium.core.compiler.export_tensorboard_sketch
export_tensorboard_sketch(scopetor, logdir)#

Create a mockup TensorFlow Graph representing the scopetor and save it in a log directory for inspection with TensorBoard.

The TensorBoard logfiles are placed in the provided logdir, so that the command tensorboard –logdir <logdir> start a tensorboard session that allows to inspect the structure of the scopetor. The mockup TensorFlow Graph will represent the hierarchy of halerium Graphs, Entities and Variables as well as the dependencies of the Variables.

Parameters:
  • scopetor (Variable, Entity, Graph) – the halerium object for which a representation is to be created.

  • logdir (string) – directory in which the TensorFlow event files will be written.