(depth)
| 302 | shape.append(num) |
| 303 | |
| 304 | def _valid_depth(depth): |
| 305 | if isinstance(depth, tuple): |
| 306 | return any(x != 0 for x in depth) |
| 307 | else: |
| 308 | return depth != 0 |
| 309 | |
| 310 | args = [ |
| 311 | inds(i, ind, axes.get(i, 0)) if _valid_depth(axes.get(i, 0)) else [ind] |
no test coverage detected