@@ -321,10 +321,9 @@ module stdlib_specialfunctions
321321 !! softmax function. Available for ranks 1 to 4
322322 !> ([Specification](../page/specs/stdlib_specialfunctions.html#softmax))
323323 #: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 )
325325 ${rt}$, intent(in) :: x(:)
326326 ${rt}$ :: y(size(x))
327- integer, intent(in), optional :: dim
328327 end function
329328 #:for rank in RANKS
330329 pure module function softmax_r${rank}$_${rk}$( x , dim ) result( y )
@@ -343,10 +342,9 @@ module stdlib_specialfunctions
343342 !! Gradient of the softmax function. Available for ranks 1 to 4
344343 !> ([Specification](../page/specs/stdlib_specialfunctions.html#softmax_grad))
345344 #: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 )
347346 ${rt}$, intent(in) :: x(:)
348347 ${rt}$ :: y(size(x))
349- integer, intent(in), optional :: dim
350348 end function
351349 #:for rank in RANKS
352350 pure module function softmax_grad_r${rank}$_${rk}$( x , dim ) result( y )
@@ -365,10 +363,9 @@ module stdlib_specialfunctions
365363 !! softmax function. Available for ranks 1 to 4
366364 !> ([Specification](../page/specs/stdlib_specialfunctions.html#logsoftmax))
367365 #: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 )
369367 ${rt}$, intent(in) :: x(:)
370368 ${rt}$ :: y(size(x))
371- integer, intent(in), optional :: dim
372369 end function
373370 #:for rank in RANKS
374371 pure module function logsoftmax_r${rank}$_${rk}$( x , dim ) result( y )
0 commit comments