MCPcopy Create free account
hub / github.com/KnowingNothing/MatmulTutorial / __getitem__

Method __getitem__

cutlass.py/tiling.py:26–28  ·  view source on GitHub ↗
(self, key: int)

Source from the content-addressed store, hash-verified

24 ), "Static dim value should be > 0."
25
26 def __getitem__(self, key: int):
27 assert key >= 0 and key < self.ndim
28 return self.dimensions[key]
29
30 def __setitem__(self, key: int, value: Union[int, IntegerType]):
31 assert key >= 0 and key < self.ndim

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected