fhelium.compile.passes.ckks._insert_plaintext_preparation
Insert operation-specific plaintext preparation operations.
InsertPlaintextPreparationPass
class View source
python
InsertPlaintextPreparationPass(name: str = 'insert-plaintext-preparation')1
Insert typed plaintext preparation at registered mixed logical ops.
Existing CKKS plaintext operands make repeated application a legal no-op. The visible unrealized cast on the ciphertext edge records the still-open logical-to-CKKS type conversion without mutating its producer.
Attributes
| Name | Type | Default/value |
|---|---|---|
name | str | 'insert-plaintext-preparation' |
run
method
python
def run(compilation: 'Compilation') -> PassResult: ...1
Prepare supported public operands across all function blocks.