edward2 icon indicating copy to clipboard operation
edward2 copied to clipboard

Add slight speed improvement by avoiding tiling and reshapes.

Open copybara-service[bot] opened this issue 3 years ago • 0 comments

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.

copybara-service[bot] avatar Feb 22 '22 03:02 copybara-service[bot]