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

It is easy to use withNameScope/withDevice incorrectly with pure ops #25

Open
fkm3 opened this issue Nov 11, 2016 · 0 comments
Open

It is easy to use withNameScope/withDevice incorrectly with pure ops #25

fkm3 opened this issue Nov 11, 2016 · 0 comments
Assignees

Comments

@fkm3
Copy link
Contributor

fkm3 commented Nov 11, 2016

If you do something like

TF.withNameScope "foo" $ return $ TF.add 1 2

it will not set the name scope of the add op as expected. You have to use TF.render instead of return.

Another, trickier example is discussed here #11 (comment)

@judah judah self-assigned this Nov 22, 2016
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

No branches or pull requests

2 participants