With composition
This document explains how to combine compiled functions with the composable
flag in Concrete.
By setting the composable
flag to True
, you can compile a function such that its outputs can be reused as inputs. For example, you can then easily compute f(f(x))
or f**i(x) = f(f(...(f(x) ..))
for a non-encrypted integer i
variable, which is usually required for recursions.
Here is an example:
Remark that this option is the equivalent to using the fhe.AllComposable
policy of modules. In particular, the same limitations may occur (see limitations documentation section).
Last updated