(inps, axis)
| 124 | |
| 125 | |
| 126 | def stack(inps, axis): |
| 127 | assert len(inps) > 0, f"stack inputs should not be empty" |
| 128 | inps = [expand_dims(inp, axis) for inp in inps] |
| 129 | return concat(inps, axis) |
| 130 | |
| 131 | |
| 132 | @register_lower_rule(mops.Concat, "Concat") |
no test coverage detected