| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(inout) | :: | this | |||
| type(array_type), | intent(in) | :: | upstream_grad |
function get_partial_batchnorm_left(this, upstream_grad) result(output) implicit none class(array_type), intent(inout) :: this type(array_type), intent(in) :: upstream_grad type(array_type) :: output class(array_type), pointer :: input input => this%left_operand call output%allocate(array_shape = [ input%shape, size(upstream_grad%val,2) ]) call this%get_partial_left_val(upstream_grad%val, output%val) end function get_partial_batchnorm_left