Finalise the fixed-basis Laplace neural operator layer
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(fixed_lno_layer_type), | intent(inout) | :: | this |
Layer instance to release |
subroutine finalise_fixed_lno(this) !! Finalise the fixed-basis Laplace neural operator layer implicit none ! Arguments type(fixed_lno_layer_type), intent(inout) :: this !! Layer instance to release 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() if(this%encoder_basis%allocated) call this%encoder_basis%deallocate() if(this%decoder_basis%allocated) call this%decoder_basis%deallocate() end subroutine finalise_fixed_lno