@@ -321,10 +321,9 @@ module stdlib_specialfunctions
321
321
!! softmax function. Available for ranks 1 to 4
322
322
!> ([Specification](../page/specs/stdlib_specialfunctions.html#softmax))
323
323
#:for rk, rt in REAL_KINDS_TYPES
324
- pure module function softmax_r1_${rk}$( x , dim ) result( y )
324
+ pure module function softmax_r1_${rk}$( x ) result( y )
325
325
${rt}$, intent(in) :: x(:)
326
326
${rt}$ :: y(size(x))
327
- integer, intent(in), optional :: dim
328
327
end function
329
328
#:for rank in RANKS
330
329
pure module function softmax_r${rank}$_${rk}$( x , dim ) result( y )
@@ -343,10 +342,9 @@ module stdlib_specialfunctions
343
342
!! Gradient of the softmax function. Available for ranks 1 to 4
344
343
!> ([Specification](../page/specs/stdlib_specialfunctions.html#softmax_grad))
345
344
#:for rk, rt in REAL_KINDS_TYPES
346
- pure module function softmax_grad_r1_${rk}$( x , dim ) result( y )
345
+ pure module function softmax_grad_r1_${rk}$( x ) result( y )
347
346
${rt}$, intent(in) :: x(:)
348
347
${rt}$ :: y(size(x))
349
- integer, intent(in), optional :: dim
350
348
end function
351
349
#:for rank in RANKS
352
350
pure module function softmax_grad_r${rank}$_${rk}$( x , dim ) result( y )
@@ -365,10 +363,9 @@ module stdlib_specialfunctions
365
363
!! softmax function. Available for ranks 1 to 4
366
364
!> ([Specification](../page/specs/stdlib_specialfunctions.html#logsoftmax))
367
365
#:for rk, rt in REAL_KINDS_TYPES
368
- pure module function logsoftmax_r1_${rk}$( x, dim ) result( y )
366
+ pure module function logsoftmax_r1_${rk}$( x ) result( y )
369
367
${rt}$, intent(in) :: x(:)
370
368
${rt}$ :: y(size(x))
371
- integer, intent(in), optional :: dim
372
369
end function
373
370
#:for rank in RANKS
374
371
pure module function logsoftmax_r${rank}$_${rk}$( x , dim ) result( y )
0 commit comments