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