Skip to main content
Log in

Mojo function

append_shape

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

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