1. Class Sigmoid_Tanh(nn.Module):

2. def _init_(self):

3. super(Sigmoid_Tanh,self)._init_()

4. def forward(self, x):

5. return torch.sigmoid(x) * torch.tanh(x)