helayers::SimpleSquareActivationLayer Class Reference
A layer implementing a simple version of square activation, that squares the encrypted input provided to it in the forward pass. More...
#include <SimpleSquareActivationLayer.h>
Inheritance diagram for helayers::SimpleSquareActivationLayer:

Public Member Functions | |
CipherMatrix forward (const CipherMatrix &inVec) const | |
![]() | |
void setName (const std::string &n) | |
Sets this layer name. More... | |
const std::string & getName () const | |
Returns layer name. | |
void setIndex (int i) | |
Sets this layer index (order in network). More... | |
int getIndex () const | |
Returns this layer index (order in network). | |
Detailed Description
A layer implementing a simple version of square activation, that squares the encrypted input provided to it in the forward pass.
The documentation for this class was generated from the following files:
- /opt/IBM/FHE-distro/ML-HElib/src/helayers/simple_nn/SimpleSquareActivationLayer.h
- /opt/IBM/FHE-distro/ML-HElib/src/helayers/simple_nn/SimpleSquareActivationLayer.cpp