Compatibility
Last updated
Last updated
This document lists the operations you can use inside the function that you are compiling.
Some operations are not supported between two encrypted values. If attempted, a detailed error message will be raised.
ndarray
methods.ndarray
properties.Concrete doesn not support some control flow statements, including the if
and while
statement when the condition depends on an encrypted value. However, control flow statements with constant values are allowed, for example, for i in range(SOME_CONSTANT)
, if os.environ.get("SOME_FEATURE") == "ON":
.
Floating-point inputs or floating-point outputs are not supported. You can have floating-point intermediate values as long as they can be converted to an integer Table Lookup, for example, (60 * np.sin(x)).astype(np.int64)
.
Bit width of encrypted values has a limit. We are constantly working on increasing the bit width limit. Exceeding this limit will trigger an error.