(x, dtype=None, ndmin=None, *, like=None)
| 1455 | |
| 1456 | @derived_from(np) |
| 1457 | def array(x, dtype=None, ndmin=None, *, like=None): |
| 1458 | x = asarray(x, like=like) |
| 1459 | while ndmin is not None and x.ndim < ndmin: |
| 1460 | x = x[None, :] |
| 1461 | if dtype is not None and x.dtype != dtype: |
| 1462 | x = x.astype(dtype) |
| 1463 | return x |
| 1464 | |
| 1465 | |
| 1466 | def concatenate(seq, axis=0, allow_unknown_chunksizes=False): |
searching dependent graphs…