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