Search Results

A layer implementing a simple version of square activation, that squares the plaintext input provided to it in the forward pass. More...

#include <SimpleSquareActivationPlainLayer.h>

Inheritance diagram for helayers::SimpleSquareActivationPlainLayer:
helayers::SimpleLayer

Public Member Functions

virtual DoubleMatrixArray forward (const DoubleMatrixArray &inVec) const
 
- Public Member Functions inherited from helayers::SimpleLayer
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 plaintext 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/SimpleSquareActivationPlainLayer.h
  • /opt/IBM/FHE-distro/ML-HElib/src/helayers/simple_nn/SimpleSquareActivationPlainLayer.cpp