This module contains comparison operations for the diffstruc library.
Merge two autodiff arrays based on a mask
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(in), | target | :: | tsource | ||
| class(array_type), | intent(in), | target | :: | fsource | ||
| logical, | intent(in), | dimension(:,:) | :: | mask |
Merge two autodiff arrays based on a mask
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(in), | target | :: | tsource | ||
| real(kind=real32), | intent(in) | :: | fsource | |||
| logical, | intent(in), | dimension(:,:) | :: | mask |
Merge two autodiff arrays based on a mask
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real32), | intent(in) | :: | tsource | |||
| class(array_type), | intent(in), | target | :: | fsource | ||
| logical, | intent(in), | dimension(:,:) | :: | mask |
Merge two autodiff arrays based on a mask
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(in), | target | :: | tsource | ||
| real(kind=real32), | intent(in), | dimension(:,:) | :: | fsource | ||
| logical, | intent(in), | dimension(:,:) | :: | mask |
Greater than or equal to comparison between autodiff array and scalar
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(in), | target | :: | a | ||
| real(kind=real32), | intent(in) | :: | b |
Greater than comparison between autodiff array and scalar
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(in), | target | :: | a | ||
| real(kind=real32), | intent(in) | :: | b |
Less than or equal tocomparison between autodiff array and scalar
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(in), | target | :: | a | ||
| real(kind=real32), | intent(in) | :: | b |
Less than comparison between autodiff array and scalar
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(in), | target | :: | a | ||
| real(kind=real32), | intent(in) | :: | b |
Greater than or equal to comparison between autodiff array and scalar
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(in), | target | :: | a | ||
| real(kind=real32), | intent(in) | :: | b |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(inout) | :: | this | |||
| type(array_type), | intent(in) | :: | upstream_grad |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(inout) | :: | this | |||
| type(array_type), | intent(in) | :: | upstream_grad |
Greater than comparison between autodiff array and scalar
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(in), | target | :: | a | ||
| real(kind=real32), | intent(in) | :: | b |
Less than or equal tocomparison between autodiff array and scalar
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(in), | target | :: | a | ||
| real(kind=real32), | intent(in) | :: | b |
Less than comparison between autodiff array and scalar
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(in), | target | :: | a | ||
| real(kind=real32), | intent(in) | :: | b |
Merge two autodiff arrays based on a mask
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(in), | target | :: | tsource | ||
| class(array_type), | intent(in), | target | :: | fsource | ||
| logical, | intent(in), | dimension(:,:) | :: | mask |
Merge two autodiff arrays based on a mask
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(in), | target | :: | tsource | ||
| real(kind=real32), | intent(in), | dimension(:,:) | :: | fsource | ||
| logical, | intent(in), | dimension(:,:) | :: | mask |
Merge two autodiff arrays based on a mask
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(in), | target | :: | tsource | ||
| real(kind=real32), | intent(in) | :: | fsource | |||
| logical, | intent(in), | dimension(:,:) | :: | mask |
Merge two autodiff arrays based on a mask
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real32), | intent(in) | :: | tsource | |||
| class(array_type), | intent(in), | target | :: | fsource | ||
| logical, | intent(in), | dimension(:,:) | :: | mask |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(in) | :: | this | |||
| real(kind=real32), | intent(in), | dimension(:,:) | :: | upstream_grad | ||
| real(kind=real32), | intent(out), | dimension(:,:) | :: | output |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(array_type), | intent(in) | :: | this | |||
| real(kind=real32), | intent(in), | dimension(:,:) | :: | upstream_grad | ||
| real(kind=real32), | intent(out), | dimension(:,:) | :: | output |