Use `expand` instead of ones to broadcast tensor (#373)
Use `expand` instead of ones to broadcast tensor. As suggested by @bes-dev. According the documentation this shouldn't take any memory - it just plays with the strides.
Showing
Please register or sign in to comment