(
arrays: Iterable["ConcatenatableArray"], /, *, axis=0
)
| 103 | |
| 104 | @implements(np.stack) |
| 105 | def stack( |
| 106 | arrays: Iterable["ConcatenatableArray"], /, *, axis=0 |
| 107 | ) -> "ConcatenatableArray": |
| 108 | if any(not isinstance(arr, ConcatenatableArray) for arr in arrays): |
| 109 | raise TypeError |
| 110 | |
| 111 | result = np.stack([arr._array for arr in arrays], axis=axis) |
| 112 | return ConcatenatableArray(result) |
| 113 | |
| 114 | |
| 115 | @implements(np.result_type) |
nothing calls this directly
no test coverage detected
searching dependent graphs…