(shape, chunks)
| 3223 | |
| 3224 | |
| 3225 | def _convert_int_chunk_to_tuple(shape, chunks): |
| 3226 | return sum( |
| 3227 | ( |
| 3228 | ( |
| 3229 | blockdims_from_blockshape((s,), (c,)) |
| 3230 | if not isinstance(c, (tuple, list)) |
| 3231 | else (c,) |
| 3232 | ) |
| 3233 | for s, c in zip(shape, chunks) |
| 3234 | ), |
| 3235 | (), |
| 3236 | ) |
| 3237 | |
| 3238 | |
| 3239 | def _compute_multiplier(limit: int, dtype, largest_block: int, result): |
no test coverage detected