Identity Function
This is the simplest activation function. Sometimes you do not need to use any activation function for a specific layer. But to hold consistency across all layers, you need to create and store a dummy activation function for that layer. That activation function is the Identity function, which outputs whatever it is given as input.
PYTHON
1class IdentityActivation():
2 def forward(X):
3 return X