Skip to main content
Log in

Mojo function

append_shape

append_shape[rank: Int](in_shape: IndexList[rank], last2nd: Int, last: Int) -> IndexList[(rank + 2)]

Append input shape by inserting last2nd and last at the end.