Files
concrete/docs/dev/api/concrete.fhe.extensions.array.md

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