MCPcopy Create free account
hub / github.com/MeshInfra/WaferLLM / tile_X

Function tile_X

SUMMA/host_common.py:31–34  ·  view source on GitHub ↗
(tensor_X, P, Mt, Kt)

Source from the content-addressed store, hash-verified

29
30
31def tile_X(tensor_X, P, Mt, Kt):
32 X1 = tensor_X.reshape(P, Mt, P, Kt)
33 X2 = X1.transpose(0, 2, 3, 1)
34 return X2.reshape(P, P, Mt * Kt).ravel()
35
36
37def tile_W(tensor_W, P, Kt, Nt):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected