fhelium.compile.passes.codegen._eager_python
Emit editable Eager Engine Python from a flat CKKS Program.
EmitEagerPythonPass
class View source
python
EmitEagerPythonPass(entry_point: str = 'generated_eager', name: str = 'emit-eager-python')1
Publish Eager-style Python for the CKKS Program at this pass position.
Attributes
| Name | Type | Default/value |
|---|---|---|
entry_point | str | 'generated_eager' |
name | str | 'emit-eager-python' |
run
method
python
def run(compilation: 'Compilation') -> PassResult: ...1
emit_eager_python
function View source
python
def emit_eager_python(program: Program, *, entry_point: str='generated_eager') -> EagerPythonSource: ...1
Emit one Eager function or fail on the first unsupported operation.