Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-bridge/blob/main/pytorch/kernels/tr.om # omega-bridge Omega-first language interoperability: checked conversion backends and native language bindings Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-bridge / pytorch / kernels / tr.om` 9 lines ยท 279 bytes Raw Blame History 1 note tr: o[C,R] = x[R,C] transposed (aten.permute with dims [1,0]) into a new row-major array. 2 note The caller supplies const lines R C RC before this text. 3 fn tr x view f32 RC o edit f32 RC to void 4 for i ulong R 5 for j ulong C 6 put o add mul j R i get x add mul i C j 7 end 8 end 9 end