mirror of
https://github.com/zama-ai/concrete.git
synced 2026-01-24 20:28:00 -05:00
2.1 KiB
2.1 KiB
module concrete.compiler.library_compilation_result
LibraryCompilationResult.
class LibraryCompilationResult
LibraryCompilationResult holds the result of the library compilation.
method __init__
__init__(library_compilation_result: LibraryCompilationResult)
Wrap the native Cpp object.
Args:
library_compilation_result(_LibraryCompilationResult): object to wrap
Raises:
TypeError: if library_compilation_result is not of type _LibraryCompilationResult
method new
new(output_dir_path: str, func_name: str) → LibraryCompilationResult
Build a LibraryCompilationResult at output_dir_path, with func_name as entrypoint.
Args:
output_dir_path(str): path to the compilation artifactsfunc_name(str): entrypoint function name
Raises:
TypeError: if output_dir_path is not of type strTypeError: if func_name is not of type str
Returns: LibraryCompilationResult