(tensor_W, P, Kt, Nt)
| 35 | |
| 36 | |
| 37 | def tile_W(tensor_W, P, Kt, Nt): |
| 38 | W1 = tensor_W.reshape(P, Kt, P, Nt) |
| 39 | W2 = W1.transpose(0, 2, 1, 3) |
| 40 | return W2.reshape(P, P, Kt * Nt).ravel() |
| 41 | |
| 42 | |
| 43 | def untile_res(res_1d_fp16, P, Mt, Nt): |
nothing calls this directly
no outgoing calls
no test coverage detected