Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect data-selector to tf-tensorboard #1318

Merged
merged 1 commit into from
Jul 30, 2018

Conversation

stephanwlee
Copy link
Contributor

Now, the data flows properly from the data-selector to the plugins
that uses the data selector.

Now, the data flows properly from the data-selector to the plugins
that uses the data selector.
@@ -715,6 +717,15 @@ <h3>There’s no dashboard by the name of “<tt>[[_selectedDashboard]]</tt>.”
return dashboard;
},

_updateDataSelection() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just so I understand, this observer is necessary because Polymer doesn't have enough context to automatically propagate the data selection from the tf-tensorboard _dataSelection property into the stamped dashboard element binding? I wonder if there's any way to explicitly tell Polymer to do that for us....

...it looks like probably not: Polymer/polymer#1778 (comment)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, that was my intention. I technically don't need two-way binding since I don't need the upward directionality. For now, I thought, the code is clean enough as is. Let me know if you are okay with it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, it's fine as is.

@stephanwlee stephanwlee merged commit 161cdb5 into tensorflow:master Jul 30, 2018
@stephanwlee stephanwlee deleted the conn branch July 30, 2018 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants