fun (Callable[P, R]) – Function to be mapped over additional axes.
batch_size (int) – Size of the batch.
in_axes (Union[int, Sequence[int], Any, None]) – Values specifying which input array axes to map over.
out_axes (Any) – Values specifying where the mapped axis should appear
in the output.