set_gradients Interface

interface
private module subroutine set_gradients(this, gradients)

Arguments

Type IntentOptional Attributes Name
class(learnable_layer_type), intent(inout) :: this

Instance of the layer

real(kind=real32), intent(in), dimension(..) :: gradients

Learnable parameters

Description

Set learnable parameters of layer