reset_selu Subroutine

private pure subroutine reset_selu(this)

Reset SELU activation function attributes and variables

Type Bound

selu_actv_type

Arguments

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

SELU activation type


Source Code

  pure subroutine reset_selu(this)
    !! Reset SELU activation function attributes and variables
    implicit none

    ! Arguments
    class(selu_actv_type), intent(inout) :: this
    !! SELU activation type

    this%name = "selu"
    this%scale = 1._real32
    this%threshold = 0._real32
    this%apply_scaling = .false.
    this%alpha = 1.67326_real32
    this%lambda = 1.0507_real32

  end subroutine reset_selu