Skip to main content

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.

Was this page helpful?