(x)
| 5449 | dim = 0 |
| 5450 | |
| 5451 | def shape(x): |
| 5452 | try: |
| 5453 | return x.shape or (1,) |
| 5454 | except AttributeError: |
| 5455 | return (1,) |
| 5456 | |
| 5457 | while isinstance(arrays, (list, tuple)): |
| 5458 | result.append(tuple(shape(deepfirst(a))[dim] for a in arrays)) |
no outgoing calls
no test coverage detected
searching dependent graphs…