(tup, allow_unknown_chunksizes=False)
| 129 | |
| 130 | @derived_from(np) |
| 131 | def vstack(tup, allow_unknown_chunksizes=False): |
| 132 | if isinstance(tup, Array): |
| 133 | raise NotImplementedError( |
| 134 | "``vstack`` expects a sequence of arrays as the first argument" |
| 135 | ) |
| 136 | |
| 137 | tup = tuple(atleast_2d(x) for x in tup) |
| 138 | return concatenate(tup, axis=0, allow_unknown_chunksizes=allow_unknown_chunksizes) |
| 139 | |
| 140 | |
| 141 | @derived_from(np) |
no test coverage detected
searching dependent graphs…