Reset leaky ReLU activation function attributes and variables
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(leaky_relu_actv_type), | intent(inout) | :: | this |
Leaky ReLU activation type |
pure subroutine leaky_relu_reset(this) !! Reset leaky ReLU activation function attributes and variables implicit none ! Arguments class(leaky_relu_actv_type), intent(inout) :: this !! Leaky ReLU activation type this%name = "leaky_relu" this%scale = 1._real32 this%threshold = 0._real32 this%alpha = 0.01_real32 this%apply_scaling = .false. end subroutine leaky_relu_reset