Files
concrete/docs/dev/api/concrete.fhe.extensions.identity.md
Benoit Chevallier-Mames 2424352dbf docs(compiler): update apidocs
2024-04-15 09:37:48 +02:00

958 B

module concrete.fhe.extensions.identity

Declaration of identity extension.


function identity

identity(x: Union[Tracer, Any])  Union[Tracer, Any]

Apply identity function to x.

Bit-width of the input and the output can be different.

Args: x (Union[Tracer, Any]): input to identity

Returns: Union[Tracer, Any]: identity tracer if called with a tracer deepcopy of the input otherwise