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

Method dim_is_static

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

Source from the content-addressed store, hash-verified

46 return isinstance(self[key], IntegerType)
47
48 def dim_is_static(self, key: int):
49 return not self.dim_is_dynamic(key)
50
51 def has_dynamic(self):
52 return any([self.dim_is_dynamic(i) for i in range(self.ndim)])

Callers 2

get_static_dimsMethod · 0.95

Calls 1

dim_is_dynamicMethod · 0.95

Tested by

no test coverage detected