Skip to content

Conversation

@DirkToewe
Copy link
Contributor

@DirkToewe DirkToewe commented Oct 19, 2019

Implements tf.broadcastTo as requested in #2011.The implementation uses the backend implementation of tf.tile and should therefore be just as fast.


This change is Reviewable

@DirkToewe DirkToewe changed the title Broadcast to tf.broadcastTo Oct 19, 2019
@rthadur rthadur requested a review from dsmilkov October 21, 2019 20:29
@rthadur rthadur self-assigned this Oct 21, 2019
@annxingyuan annxingyuan self-requested a review October 24, 2019 09:39
Copy link
Contributor

@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.

Thank you @DirkToewe , and sorry for the incredibly long wait on this! Just left a few very minor comments :)

@annxingyuan
Copy link
Contributor

@DirkToewe sorry just one last thing - could you use expectArraysClose everywhere, instead of checking for mobile safari? This is what we do in our other tests. After that we'll be good to go :)

@DirkToewe
Copy link
Contributor Author

DirkToewe commented Nov 21, 2019

Okay, I changed it. In tf.linalg.bandPart, I've used the same check. If that's okay I'm going to changed it in that PR as well.

@annxingyuan
Copy link
Contributor

@DirkToewe that would be great! thanks!

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.

4 participants