Submodule containing the implementation of the base layer types
This submodule contains the implementation of the base layer types used in the ATHENA library. The base layer types are the abstract types from which all other layer types are derived. The submodule contains the implementation of the I/O procedures for the base layer
Print the layer and wrapping info to a file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(base_layer_type), | intent(in) | :: | this |
Instance of the layer |
||
| character(len=*), | intent(in), | optional | :: | file |
File name |
|
| integer, | intent(in), | optional | :: | unit |
Unit number |
|
| logical, | intent(in), | optional | :: | print_header_footer |
Boolean whether to print header and footer |
Print the layer to a file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(base_layer_type), | intent(in) | :: | this |
Instance of the layer |
||
| integer, | intent(in) | :: | unit |
File unit |
Print 3D batch normalisation layer to unit
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(batch_layer_type), | intent(in) | :: | this |
Instance of batch normalisation layer |
||
| integer, | intent(in) | :: | unit |
File unit |
Print 2D convolutional layer to unit
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(conv_layer_type), | intent(in) | :: | this |
Instance of the 2D convolutional layer |
||
| integer, | intent(in) | :: | unit |
File unit |
Print padding layer to a file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(pad_layer_type), | intent(in) | :: | this |
Instance of the layer |
||
| integer, | intent(in) | :: | unit |
File unit |
Print pooling layer to a file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(pool_layer_type), | intent(in) | :: | this |
Instance of the layer |
||
| integer, | intent(in) | :: | unit |
File unit |