Arithmetic operation
RELU
Signed thresholding and ML-style activation flows.
Signature
| Raw symbols | FHE16_RELU |
|---|---|
| Example | int32_t* out = FHE16_RELU(a); |
Caller
Signed thresholding and ML-style activation flows.
Circuit Path
Homomorphic pathSign-bit gated selection circuit: negative values map to encrypted zero, non-negative values pass through.
Input, Output, Ownership
| Output | n-bit integer ciphertext. |
|---|---|
| Ownership | Returned ciphertext is caller-owned. |
| Implementation baseline | FHE16Ver6/include/soAPI/soAPI.hpp and FHE16Ver6/src/soAPI/soAPI.cpp |
C Example
int32_t* out = FHE16_RELU(a);
FHE16_Free(out);