reno.ops.adjust_shapes_for_n#
- reno.ops.adjust_shapes_for_n(*parts, **kwargs)#
for numpy calculations, while () can broadcast to (dim,) but not (n,) to (n,dim), so handle converting (n,) to (n,1) if necessary, given the other components.
Note that this runs and returns the evaluations for each part.