mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
890 B
890 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