aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tensorboard/components/tf_graph_dashboard/demo/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/tensorboard/components/tf_graph_dashboard/demo/index.html')
-rw-r--r--tensorflow/tensorboard/components/tf_graph_dashboard/demo/index.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/tensorflow/tensorboard/components/tf_graph_dashboard/demo/index.html b/tensorflow/tensorboard/components/tf_graph_dashboard/demo/index.html
index 67756cc129..2035e87898 100644
--- a/tensorflow/tensorboard/components/tf_graph_dashboard/demo/index.html
+++ b/tensorflow/tensorboard/components/tf_graph_dashboard/demo/index.html
@@ -37,14 +37,17 @@ limitations under the License.
<tf-graph-dashboard backend="[[backend]]"></tf-graph-dashboard>
</template>
<script>
+ import {Backend} from "../../tf-backend/backend";
+ import {router} from "../../tf-backend/router";
+
Polymer({
is: "graph-dashboard-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);
},
},
},