What is the splatting penalty?

I know what “splatting” is, but what is the “splatting penalty”, as seen here?

1 Like

The compiler will have to compile a new method of hcat every time the length of xs changes. That applies for the adjoint as well.

6 Likes