reset_gaussian Subroutine

private pure subroutine reset_gaussian(this)

Reset Gaussian activation function attributes and variables

Type Bound

gaussian_actv_type

Arguments

Type IntentOptional Attributes Name
class(gaussian_actv_type), intent(inout) :: this

Gaussian activation type


Source Code

  pure subroutine reset_gaussian(this)
    !! Reset Gaussian activation function attributes and variables
    implicit none

    ! Arguments
    class(gaussian_actv_type), intent(inout) :: this
    !! Gaussian activation type

    this%name = "gaussian"
    this%scale = 1._real32
    this%threshold = 0._real32
    this%apply_scaling = .false.
    this%sigma = 1.5_real32
    this%mu = 0._real32

  end subroutine reset_gaussian