Finalise fully connected layer
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(full_layer_type), | intent(inout) | :: | this |
Instance of the fully connected layer |
subroutine finalise_full(this) !! Finalise fully connected layer implicit none ! Arguments type(full_layer_type), intent(inout) :: this !! Instance of the fully connected layer if(allocated(this%input_shape)) deallocate(this%input_shape) if(allocated(this%output)) deallocate(this%output) if(this%z(1)%allocated) call this%z(1)%deallocate() end subroutine finalise_full