FastBroadcast.@..
— Macro@.. [thread=false] [broadcast=false] expr
@..
turns expr
into a broadcast-like expression, similar to @.
. It additionally provides two optional keyword arguments:
- thread: Defaults to
false
. Use multithreading? - broadcast: Defaults to
false
. Iftrue
, it will broadcast axes with dynamic runtime sizes of1
to larger sizes, iffalse
only sizes known to be1
at compile time will be supported, i.e. axes such thatArrayInterface.known_length(typeof(StaticArrayInterface.static_axes(x,i))) == 1
will be broadcast. Note that this differs from base broadcasting, in that base broadcasting only supportsbroadcast=true
.