mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-18 16:34:43 -05:00
1.8 KiB
1.8 KiB
module concrete.fhe.compilation.decorators
Declaration of circuit and compiler decorators.
function circuit
circuit(
parameters: Mapping[str, Union[str, EncryptionStatus]],
configuration: Optional[Configuration] = None,
artifacts: Optional[DebugArtifacts] = None,
**kwargs
)
Provide a direct interface for compilation.
Args: parameters (Mapping[str, Union[str, EncryptionStatus]]): encryption statuses of the parameters of the function to compile
configuration(Optional[Configuration], default = None): configuration to use
artifacts (Optional[DebugArtifacts], default = None): artifacts to store information about the process
kwargs (Dict[str, Any]): configuration options to overwrite
function compiler
compiler(parameters: Mapping[str, Union[str, EncryptionStatus]])
Provide an easy interface for compilation.
Args: parameters (Mapping[str, Union[str, EncryptionStatus]]): encryption statuses of the parameters of the function to compile