diff options
Diffstat (limited to 'tensorflow/tensorboard/components/tf_histogram_dashboard/index.html')
-rw-r--r-- | tensorflow/tensorboard/components/tf_histogram_dashboard/index.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tensorflow/tensorboard/components/tf_histogram_dashboard/index.html b/tensorflow/tensorboard/components/tf_histogram_dashboard/index.html index c8d02f990d..77d62af26f 100644 --- a/tensorflow/tensorboard/components/tf_histogram_dashboard/index.html +++ b/tensorflow/tensorboard/components/tf_histogram_dashboard/index.html @@ -42,14 +42,17 @@ limitations under the License. <tf-histogram-dashboard id="demo" backend="[[backend]]"></tf-histogram-dashboard> </template> <script> + import {Backend} from "../../tf-backend/backend"; + import {router} from "../../tf-backend/router"; + Polymer({ is: "histogram-dash-demo", properties: { backend: { type: Object, value: function() { - var router = new TF.Backend.router("data", true); - return new TF.Backend.Backend(router); + var router = new router("data", true); + return new Backend(router); }, }, }, |