diff options
Diffstat (limited to 'tensorflow/tensorboard/components/tf_distribution_dashboard/index.html')
-rw-r--r-- | tensorflow/tensorboard/components/tf_distribution_dashboard/index.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tensorflow/tensorboard/components/tf_distribution_dashboard/index.html b/tensorflow/tensorboard/components/tf_distribution_dashboard/index.html index 5e825f13f5..2c30044648 100644 --- a/tensorflow/tensorboard/components/tf_distribution_dashboard/index.html +++ b/tensorflow/tensorboard/components/tf_distribution_dashboard/index.html @@ -43,14 +43,17 @@ limitations under the License. <tf-distribution-dashboard id="demo" backend="[[backend]]"></tf-distribution-dashboard> </template> <script> + import {Backend} from "../../tf-backend/backend"; + import {router} from "../../tf-backend/router"; + Polymer({ is: "distribution-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); }, }, }, |