diff options
author | 2016-11-01 10:23:07 -0800 | |
---|---|---|
committer | 2016-11-01 11:43:23 -0700 | |
commit | 26f20568e42cdc1e9a522392c11ef6d85924e57f (patch) | |
tree | 4785a89000367669e36ddaed12ac7858cc1245ac | |
parent | 155994b58ab116c2fb76a0f7ee7f069a5546ada4 (diff) |
Rename tab "projections" to "embeddings" in TensorBoard
Change: 137847545
-rw-r--r-- | tensorflow/tensorboard/components/tf_globals/globals.ts | 2 | ||||
-rw-r--r-- | tensorflow/tensorboard/components/tf_tensorboard/tf-tensorboard.html | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tensorflow/tensorboard/components/tf_globals/globals.ts b/tensorflow/tensorboard/components/tf_globals/globals.ts index e985941d9c..36a7072a7f 100644 --- a/tensorflow/tensorboard/components/tf_globals/globals.ts +++ b/tensorflow/tensorboard/components/tf_globals/globals.ts @@ -22,7 +22,7 @@ module TF.Globals { ['scalars', 'images', 'audio', 'graphs', 'distributions', 'histograms']; if (PROJECTOR_LAUNCHED) { - TABS.push('projections'); + TABS.push('embeddings'); } // If true, TensorBoard stores its hash in the URI state. diff --git a/tensorflow/tensorboard/components/tf_tensorboard/tf-tensorboard.html b/tensorflow/tensorboard/components/tf_tensorboard/tf-tensorboard.html index bdbb915a7a..3d1f2ecf0b 100644 --- a/tensorflow/tensorboard/components/tf_tensorboard/tf-tensorboard.html +++ b/tensorflow/tensorboard/components/tf_tensorboard/tf-tensorboard.html @@ -125,7 +125,7 @@ allows the user to toggle between various dashboards. ></tf-histogram-dashboard> </template> - <template is="dom-if" if="[[_modeIsProjections(mode)]]"> + <template is="dom-if" if="[[_modeIsEmbeddings(mode)]]"> <vz-projector-dashboard id="projector" route-prefix="/data/plugin/projector"> @@ -262,8 +262,8 @@ allows the user to toggle between various dashboards. _modeIsGraphs: function(mode) { return mode === "graphs"; }, - _modeIsProjections: function(mode) { - return mode === "projections"; + _modeIsEmbeddings: function(mode) { + return mode === "embeddings"; }, _modeIsDistributions: function(mode) { return mode === "distributions"; @@ -298,7 +298,7 @@ allows the user to toggle between various dashboards. } }, reload: function() { - if (this.mode === "graphs" || this.mode === "projections") { + if (this.mode === "graphs" || this.mode === "embeddings") { return; } this.selectedDashboard().reload(); |