Open
Description
To set layout for custom_layout plugin in tensorflow 1.x you should use method add_summary in FileWriter class. So the code should look like this:
with tf.summary.FileWriter(LOGDIR) as writer:
layout_summary = summary_lib.custom_scalar_pb(...)
writer.add_summary(layout_summary)
In tensorflow 2 add_summary method was removed. How can I set custom_scalar layout now? Is it a bug or a desired API change?