(self, x)
| 95 | self.scale = 1.0507009873554804934193349852946 |
| 96 | |
| 97 | def forward(self, x): |
| 98 | return self.scale * torch.where(x > 0, x, self.alpha * (torch.exp(x) - 1)) |
| 99 | |
| 100 | class PReLU(nn.Module): |
| 101 | def __init__(self, num_parameters=1, init=0.25): |
nothing calls this directly
no outgoing calls
no test coverage detected