Files
concrete/docs/dev/api/concrete.fhe.internal.utils.md

1.2 KiB

module concrete.fhe.internal.utils

Declaration of various functions and constants related to the entire project.


function assert_that

assert_that(condition: bool, message: str = '')

Assert a condition.

Args: condition (bool): condition to assert

message (str): message to give to AssertionError if the condition does not hold

Raises: AssertionError: if the condition does not hold


function unreachable

unreachable()

Raise a RuntimeError to indicate unreachable code is entered.