aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tensorboard/components/tf_image_dashboard/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/tensorboard/components/tf_image_dashboard/index.html')
-rw-r--r--tensorflow/tensorboard/components/tf_image_dashboard/index.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/tensorflow/tensorboard/components/tf_image_dashboard/index.html b/tensorflow/tensorboard/components/tf_image_dashboard/index.html
index f9ea187952..40cdddc27e 100644
--- a/tensorflow/tensorboard/components/tf_image_dashboard/index.html
+++ b/tensorflow/tensorboard/components/tf_image_dashboard/index.html
@@ -42,6 +42,9 @@ limitations under the License.
</tf-image-dashboard>
</template>
<script>
+ import {Backend} from "../../tf-backend/backend";
+ import {router} from "../../tf-backend/router";
+
Polymer({
is: "image-dash-demo",
properties: {
@@ -49,8 +52,8 @@ limitations under the License.
type: Object,
value: function() {
var path = "data";
- var router = new TF.Backend.router(path, true);
- return new TF.Backend.Backend(router);
+ var router = new router(path, true);
+ return new Backend(router);
},
},
},