Skip to content

Latest commit

 

History

History
31 lines (15 loc) · 1 KB

concrete.fhe.extensions.array.md

File metadata and controls

31 lines (15 loc) · 1 KB

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 respresents the operation during tracing ndarray with values otherwise