MCPcopy
hub / github.com/tinygrad/tinygrad / matmul

Function matmul

extra/multitensor.py:36–38  ·  view source on GitHub ↗
(X, W)

Source from the content-addressed store, hash-verified

34 #return Tensor.cat(*[x.to(Device.DEFAULT) for x in Os], dim=1) # TODO: someday we can remove this copy too
35
36def matmul(X, W):
37 return explicit_shard_W_axis_1(X, W)
38 #return X@W
39
40if __name__ == "__main__":
41 with Timing("init devices: "):

Callers 1

multitensor.pyFile · 0.70

Calls 1

explicit_shard_W_axis_1Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…