mirror of
https://github.com/zama-ai/concrete.git
synced 2026-01-13 14:58:01 -05:00
956 B
956 B
module concrete.fhe.extensions.array
Declaration of array function, to simplify creation of encrypted arrays.
function array
array(values: Any) → Union[ndarray, Tracer]
Create an encrypted array from either encrypted or clear values.
Args: values (Any): array like object compatible with numpy to construct the resulting encrypted array
Returns: Union[np.ndarray, Tracer]: Tracer that represents the operation during tracing ndarray with values otherwise