edward2
edward2 copied to clipboard
Add slight speed improvement by avoiding tiling and reshapes.
Add slight speed improvement by avoiding tiling and reshapes.
We implicitly tile with the BE's first einsum op. Instead of reshape, we carry around the additional ensemble size axis, and where all layers operate with multiple batch dimensions.