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