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

Method num_elements

cutlass.py/tiling.py:62–66  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

60 ]
61
62 def num_elements(self):
63 assert (
64 not self.has_dynamic()
65 ), "Can't get number of elements for dynamic HyperCube."
66 return math.prod(self.dimensions)
67
68 def num_elements_gt(self, number: int):
69 """

Callers

nothing calls this directly

Calls 1

has_dynamicMethod · 0.95

Tested by

no test coverage detected