aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tensorboard/dist/tf-tensorboard.html
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/tensorboard/dist/tf-tensorboard.html')
-rw-r--r--tensorflow/tensorboard/dist/tf-tensorboard.html20
1 files changed, 2 insertions, 18 deletions
diff --git a/tensorflow/tensorboard/dist/tf-tensorboard.html b/tensorflow/tensorboard/dist/tf-tensorboard.html
index 2a0a029ffa..8610940ac3 100644
--- a/tensorflow/tensorboard/dist/tf-tensorboard.html
+++ b/tensorflow/tensorboard/dist/tf-tensorboard.html
@@ -3325,6 +3325,7 @@ var Categorizer;
// if undefined, default value (enable for first k runs, disable after).
type: Object,
value: TF.URIStorage.getObjectInitializer('runSelectionState', {}),
+ observer: "_storeRunToIsCheckedMapping",
},
// (Allows state to persist across regex filtering)
outSelected: {
@@ -3373,24 +3374,7 @@ var Categorizer;
},
observers: [
"_setIsolatorIcon(runSelectionState, names)",
- "_storeRunToIsCheckedMappingWithDefault(runSelectionState, namesMatchingRegex)",
],
- _storeRunToIsCheckedMappingWithDefault() {
- var runSelectionStateIsDefault = Object.keys(this.runSelectionState).length == 0;
- if (runSelectionStateIsDefault || this.namesMatchingRegex == null) {
- return;
- }
- var _this = this;
- var allToggledOn = this.namesMatchingRegex
- .every(function(n) {return _this.runSelectionState[n]});
- var allToggledOff = this.namesMatchingRegex
- .every(function(n) {return !_this.runSelectionState[n]});
- var defaultOff = this.namesMatchingRegex.length > this.maxRunsToEnableByDefault;
- if (defaultOff && allToggledOff || !defaultOff && allToggledOn) {
- this.runSelectionState = {};
- }
- this._storeRunToIsCheckedMapping(this.runSelectionState);
- },
_storeRunToIsCheckedMapping: TF.URIStorage.getObjectObserver('runSelectionState', {}),
_makeRegex: function(regex) {
try {
@@ -27156,4 +27140,4 @@ arguments[4][8][0].apply(exports,arguments)
},{"dup":8}]},{},[35,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34]);
</script>
</dom-module>
-</body></html> \ No newline at end of file
+</body></html>