regularise Interface

interface
private pure subroutine regularise(this, params, gradient, learning_rate)

Arguments

Type IntentOptional Attributes Name
class(base_regulariser_type), intent(in) :: this

Regulariser object

real(kind=real32), intent(in), dimension(:) :: params

Parameters to regularise

real(kind=real32), intent(inout), dimension(:) :: gradient

Gradient of the parameters

real(kind=real32), intent(in) :: learning_rate

Learning rate

Description

Regularise the parameters