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.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!