stages
AssemblyKernel
A callable implementation of an AssemblyKernelFType.
Source code in src/finch/finch_assembly/stages.py
49 50 51 52 53 54 55 56 57 58 59 60 | |
AssemblyKernelFType
dataclass
Bases: CallableFType
The identity and signature of a function defined in a Finch module.
Source code in src/finch/finch_assembly/stages.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | |
AssemblyLibrary
Bases: ABC
Represents a module containing assembly kernels.
Source code in src/finch/finch_assembly/stages.py
63 64 65 66 67 68 69 70 71 72 73 | |
__getattr__(name)
abstractmethod
Get the assembly Kernel corresponding to the given name.
Source code in src/finch/finch_assembly/stages.py
68 69 70 71 72 73 | |
AssemblyLoader
Bases: Stage
Source code in src/finch/finch_assembly/stages.py
76 77 78 79 80 81 82 83 | |
lower(term, *, mode=None)
abstractmethod
Load the given assembly program into a runnable module.
Source code in src/finch/finch_assembly/stages.py
77 78 79 80 81 82 83 | |
AssemblyTransform
Bases: Stage
Source code in src/finch/finch_assembly/stages.py
86 87 88 89 90 91 | |
lower(term)
abstractmethod
Transform the given assembly term into another assembly term.
Source code in src/finch/finch_assembly/stages.py
87 88 89 90 91 | |