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

Class Function

cutlass.py/mapping.py:6–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4from functools import reduce
5
6class Function:
7 def forward(self, *args):
8 raise NotImplementedError()
9
10 def backward(self, *args):
11 raise NotImplementedError()
12
13class Mapping(Function):
14 def __init__(self, functions: Optional[List[Function]] = None) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected