diff --git a/tensorboard/plugins/graph/tf_graph_info/tf-node-info.html b/tensorboard/plugins/graph/tf_graph_info/tf-node-info.html index a58eebc598..d6c2e67750 100644 --- a/tensorboard/plugins/graph/tf_graph_info/tf-node-info.html +++ b/tensorboard/plugins/graph/tf_graph_info/tf-node-info.html @@ -489,7 +489,7 @@ return null; }, _getTotalMicros: function(stats) { - return stats.getTotalMicros(); + return stats ? stats.getTotalMicros() : 0; }, _getHasDisplayableNodeStats: function(stats) { return tf.graph.util.hasDisplayableNodeStats(stats);