如何以编程方式从 Tensorboard 中的主图中 add/remove 节点?

How to programatically add/remove nodes from main graph in Tensorboard?

Tensorboard 似乎可以任意 select 哪些节点属于主图,哪些不属于。在图形可视化过程中,我可以手动 add/remove 个节点,但每隔 运行 执行一次就很乏味了。

有没有办法在编写图表摘要时以编程方式嵌入此信息(哪些节点属于主图表)?

据此github issue,暂时不可行

根据这句话:

Thanks @lightcatcher for the suggestion. @danmane, please take a look at this issue. If it is something we will not do in the short-term maybe mark it contributions welcome. If it is something you are planning to include in your plugin API anyways, please close the issue to keep the backlog clear.

,以及问题的状态(contributions:welcomed),这不是短期内可以预期的事情。