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