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

Mistake in "broadcasting good and ugly" #36

Closed
berylsheep-up opened this issue Feb 24, 2020 · 1 comment
Closed

Mistake in "broadcasting good and ugly" #36

berylsheep-up opened this issue Feb 24, 2020 · 1 comment

Comments

@berylsheep-up
Copy link

a =  tf.random_uniform([5, 3, 5])
b = tf.random_uniform([5, 1, 6])
# concat a and b and apply nonlinearity
tiled_b = tf.tile(b, [1, 3, 1])
c = tf.concat([a, tiled_b], 2)

Should be a = tf.random_uniform([5, 3, 6]) of b = tf.random_uniform([5, 1, 5])

@vahidk
Copy link
Owner

vahidk commented Feb 24, 2020

Nah. It's correct.

@vahidk vahidk closed this as completed Feb 24, 2020
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