public interface softmax
softmax function. Available for ranks 1 to 4
Functions
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=dp),
|
intent(in) |
|
|
:: |
x(:) |
|
Return Value
real(kind=dp), (size(x))
(Specification)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=sp),
|
intent(in) |
|
|
:: |
x(:) |
|
Return Value
real(kind=sp), (size(x))
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=dp),
|
intent(in) |
|
|
:: |
x(:,:) |
|
integer,
|
intent(in), |
optional |
|
:: |
dim |
|
Return Value
real(kind=dp), (size(x,1),size(x,2))
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=sp),
|
intent(in) |
|
|
:: |
x(:,:) |
|
integer,
|
intent(in), |
optional |
|
:: |
dim |
|
Return Value
real(kind=sp), (size(x,1),size(x,2))
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=dp),
|
intent(in) |
|
|
:: |
x(:,:,:) |
|
integer,
|
intent(in), |
optional |
|
:: |
dim |
|
Return Value
real(kind=dp), (size(x,1),size(x,2),size(x,3))
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=sp),
|
intent(in) |
|
|
:: |
x(:,:,:) |
|
integer,
|
intent(in), |
optional |
|
:: |
dim |
|
Return Value
real(kind=sp), (size(x,1),size(x,2),size(x,3))