Set up the 2D dropblock layer
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real32), | intent(in) | :: | rate |
Drop rate |
||
| integer, | intent(in) | :: | block_size |
Block size |
||
| integer, | intent(in), | optional, | dimension(:) | :: | input_shape |
Input shape |
| integer, | intent(in), | optional | :: | verbose |
Verbosity level |
Instance of the 2D dropblock layer
module function layer_setup( & rate, block_size, & input_shape, & verbose ) result(layer) !! Set up the 2D dropblock layer real(real32), intent(in) :: rate !! Drop rate integer, intent(in) :: block_size !! Block size integer, dimension(:), optional, intent(in) :: input_shape !! Input shape integer, optional, intent(in) :: verbose !! Verbosity level type(dropblock2d_layer_type) :: layer !! Instance of the 2D dropblock layer end function layer_setup