(x)
| 5444 | dim = 0 |
| 5445 | |
| 5446 | def shape(x): |
| 5447 | try: |
| 5448 | return x.shape or (1,) |
| 5449 | except AttributeError: |
| 5450 | return (1,) |
| 5451 | |
| 5452 | while isinstance(arrays, (list, tuple)): |
| 5453 | result.append(tuple(shape(deepfirst(a))[dim] for a in arrays)) |
no outgoing calls
no test coverage detected