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

Modularize batchToSpaceND. #3272

Merged
merged 5 commits into from
May 14, 2020
Merged

Modularize batchToSpaceND. #3272

merged 5 commits into from
May 14, 2020

Conversation

annxingyuan
Copy link
Contributor

@annxingyuan annxingyuan commented May 14, 2020

To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.


This change is Reviewable

@annxingyuan annxingyuan self-assigned this May 14, 2020
Copy link
Collaborator

@lina128 lina128 left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @annxingyuan, @lina128, and @tafsiri)


tfjs-core/src/gradients/BatchToSpaceND_grad.ts, line 28 at r1 (raw file):

    const batchToSpaceNDAttrs: BatchToSpaceNDAttrs =
        attrs as {} as BatchToSpaceNDAttrs;
    const {blockShape, crops} = batchToSpaceNDAttrs;

nit: Above line and this line can be combined: {blockShape, crops} = attrs as {} as BatchToSpaceNDAttrs;

Copy link
Contributor Author

@annxingyuan annxingyuan left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @tafsiri)


tfjs-core/src/gradients/BatchToSpaceND_grad.ts, line 28 at r1 (raw file):

Previously, lina128 (Na Li) wrote…

nit: Above line and this line can be combined: {blockShape, crops} = attrs as {} as BatchToSpaceNDAttrs;

Done

@annxingyuan annxingyuan merged commit df06f39 into master May 14, 2020
@annxingyuan annxingyuan deleted the modularize_array branch May 14, 2020 20:26
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.

3 participants