Skip to content

Conversation

@lina128
Copy link
Collaborator

@lina128 lina128 commented Jun 30, 2020

Use env().getBool('DEBUG') instead. Fixes #3489


This change is Reviewable

Copy link
Contributor

@tafsiri tafsiri left a comment

Choose a reason for hiding this comment

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

Wow, thanks Na. This is bigger than I imagined when we talked. In webgl because this.debug is effectively part of backend states relatively clear what is being passed. Though it does make sense to me use the flag and not have to thread debug through all the method calls including the ones that don't use it, so that's a nice win from that perspective. +1

Reviewed 11 of 11 files at r1.
Reviewable status: :shipit: complete! 2 of 1 approvals obtained (waiting on @tafsiri)

@pyu10055 pyu10055 merged commit 690d5f7 into tensorflow:master Jun 30, 2020
@lina128 lina128 deleted the temp1 branch June 30, 2020 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider removing debugMode from toTypedArray

5 participants