Set up the activation layer
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(*), | intent(in) | :: | activation |
Activation function |
||
| integer, | intent(in), | optional, | dimension(:) | :: | input_shape |
Input shape |
| integer, | intent(in), | optional | :: | verbose |
Verbosity level |
Instance of the activation layer
module function layer_setup( & activation, & input_shape, & verbose & ) result(layer) !! Set up the activation layer class(*), intent(in) :: activation !! Activation function integer, dimension(:), optional, intent(in) :: input_shape !! Input shape integer, optional, intent(in) :: verbose !! Verbosity level type(actv_layer_type) :: layer !! Instance of the activation layer end function layer_setup