# tensorplay.func.chunk_vmap Source: https://www.tensorplay.cn/docs/generated/tensorplay.func.chunk_vmap.html ```python tensorplay.func.chunk_vmap(func: Callable, in_dims: int | tuple = 0, out_dims: int | tuple[int, ...] | None = 0, randomness: str = 'error', chunks: int = 2) → Callable ``` [vmap()](/docs/generated/tensorplay.func.vmap.html#tensorplay.func.vmap) splitting the batch into chunks pieces. Prefer vmap(..., chunk_size=...), which states the bound in samples rather than in pieces and so does not change meaning with the batch size.