Get partial derivative wrt kernel for 1D convolution
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(inout) | :: | this | |||
| type(array_type), | intent(in) | :: | upstream_grad |
function get_partial_conv1d_kernel(this, upstream_grad) result(output) !! Get partial derivative wrt kernel for 1D convolution implicit none class(array_type), intent(inout) :: this type(array_type), intent(in) :: upstream_grad type(array_type) :: output call output%allocate(array_shape = [ this%right_operand%shape, 1 ]) call this%get_partial_right_val(upstream_grad%val, output%val) end function get_partial_conv1d_kernel