workaround for constant nodes (#139)
workaround for constant nodes (#139)

* workaround for constant nodes

see https://github.com/lanpa/tensorboard-pytorch/issues/138

* workaround for constant node

* Update graph.py

specifies the exact exception.

lanpa/tensorboardX,lanpa/tensorboardX