BroadcastPlan plan_broadcast(const int & src_shape, const int & dst_shape)Build the BroadcastPlan for src_shape -> dst_shape.
Parameters
src_ shapeconst Shape&Broadcastable to
dst_shape (right-aligned, size-1 dims stretch).dst_ shapeconst Shape&The full shape.
Returns
BroadcastPlanouter * inner * rep equals the element count of dst_shape.