@@ -120,7 +120,7 @@ module stdlib_specialfunctions
120
120
interface leaky_relu
121
121
!! Version: experimental
122
122
!!
123
- !! Leaky Rectified linear unit function
123
+ !! leaky Rectified linear unit function
124
124
!> ([Specification](../page/specs/stdlib_specialfunctions.html#leaky_relu))
125
125
#:for rk, rt in REAL_KINDS_TYPES
126
126
elemental module function leaky_relu_${rk}$( x , a ) result( y )
@@ -135,7 +135,7 @@ module stdlib_specialfunctions
135
135
interface leaky_relu_grad
136
136
!! Version: experimental
137
137
!!
138
- !! Gradient of the Leaky Rectified linear unit function
138
+ !! Gradient of the leaky Rectified linear unit function
139
139
!> ([Specification](../page/specs/stdlib_specialfunctions.html#leaky_relu_grad))
140
140
#:for rk, rt in REAL_KINDS_TYPES
141
141
elemental module function leaky_relu_grad_${rk}$( x , a ) result( y )
@@ -341,19 +341,19 @@ module stdlib_specialfunctions
341
341
end interface
342
342
public :: tanh_grad
343
343
344
- interface Softmax
344
+ interface softmax
345
345
!! Version: experimental
346
346
!!
347
- !! Softmax function. Available for ranks 1 to 4
348
- !> ([Specification](../page/specs/stdlib_specialfunctions.html#Softmax ))
347
+ !! softmax function. Available for ranks 1 to 4
348
+ !> ([Specification](../page/specs/stdlib_specialfunctions.html#softmax ))
349
349
#:for rk, rt in REAL_KINDS_TYPES
350
- pure module function Softmax_r1_ ${rk}$( x , dim ) result( y )
350
+ pure module function softmax_r1_ ${rk}$( x , dim ) result( y )
351
351
${rt}$, intent(in) :: x(:)
352
352
${rt}$ :: y(size(x))
353
353
integer, intent(in), optional :: dim
354
354
end function
355
355
#:for rank in RANKS
356
- pure module function Softmax_r ${rank}$_${rk}$( x , dim ) result( y )
356
+ pure module function softmax_r ${rank}$_${rk}$( x , dim ) result( y )
357
357
${rt}$, intent(in) :: x${ranksuffix(rank)}$
358
358
${rt}$ :: y${shape('x', rank)}$
359
359
integer, intent(in), optional :: dim
@@ -363,77 +363,77 @@ module stdlib_specialfunctions
363
363
end interface
364
364
public :: softmax
365
365
366
- interface Softmax_grad
366
+ interface softmax_grad
367
367
!! Version: experimental
368
368
!!
369
369
!! Gradient of the softmax function. Available for ranks 1 to 4
370
- !> ([Specification](../page/specs/stdlib_specialfunctions.html#Softmax_grad ))
370
+ !> ([Specification](../page/specs/stdlib_specialfunctions.html#softmax_grad ))
371
371
#:for rk, rt in REAL_KINDS_TYPES
372
- pure module function Softmax_grad_r1_ ${rk}$( x , dim ) result( y )
372
+ pure module function softmax_grad_r1_ ${rk}$( x , dim ) result( y )
373
373
${rt}$, intent(in) :: x(:)
374
374
${rt}$ :: y(size(x))
375
375
integer, intent(in), optional :: dim
376
376
end function
377
377
#:for rank in RANKS
378
- pure module function Softmax_grad_r ${rank}$_${rk}$( x , dim ) result( y )
378
+ pure module function softmax_grad_r ${rank}$_${rk}$( x , dim ) result( y )
379
379
${rt}$, intent(in) :: x${ranksuffix(rank)}$
380
380
${rt}$ :: y${shape('x', rank)}$
381
381
integer, intent(in), optional :: dim
382
382
end function
383
383
#:endfor
384
384
#:endfor
385
385
end interface
386
- public :: Softmax_grad
386
+ public :: softmax_grad
387
387
388
- interface LogSoftmax
388
+ interface logsoftmax
389
389
!! Version: experimental
390
390
!!
391
- !! Softmax function. Available for ranks 1 to 4
392
- !> ([Specification](../page/specs/stdlib_specialfunctions.html#LogSoftmax ))
391
+ !! softmax function. Available for ranks 1 to 4
392
+ !> ([Specification](../page/specs/stdlib_specialfunctions.html#logsoftmax ))
393
393
#:for rk, rt in REAL_KINDS_TYPES
394
- pure module function LogSoftmax_r1_ ${rk}$( x, dim ) result( y )
394
+ pure module function logsoftmax_r1_ ${rk}$( x, dim ) result( y )
395
395
${rt}$, intent(in) :: x(:)
396
396
${rt}$ :: y(size(x))
397
397
integer, intent(in), optional :: dim
398
398
end function
399
399
#:for rank in RANKS
400
- pure module function LogSoftmax_r ${rank}$_${rk}$( x , dim ) result( y )
400
+ pure module function logsoftmax_r ${rank}$_${rk}$( x , dim ) result( y )
401
401
${rt}$, intent(in) :: x${ranksuffix(rank)}$
402
402
${rt}$ :: y${shape('x', rank)}$
403
403
integer, intent(in), optional :: dim
404
404
end function
405
405
#:endfor
406
406
#:endfor
407
407
end interface
408
- public :: LogSoftmax
408
+ public :: logsoftmax
409
409
410
- interface Softplus
410
+ interface softplus
411
411
!! Version: experimental
412
412
!!
413
- !! Softplus function
414
- !> ([Specification](../page/specs/stdlib_specialfunctions.html#Softplus ))
413
+ !! softplus function
414
+ !> ([Specification](../page/specs/stdlib_specialfunctions.html#softplus ))
415
415
#:for rk, rt in REAL_KINDS_TYPES
416
- elemental module function Softplus_ ${rk}$( x ) result( y )
416
+ elemental module function softplus_ ${rk}$( x ) result( y )
417
417
${rt}$, intent(in) :: x
418
418
${rt}$ :: y
419
419
end function
420
420
#:endfor
421
421
end interface
422
- public :: Softplus
422
+ public :: softplus
423
423
424
- interface Softplus_grad
424
+ interface softplus_grad
425
425
!! Version: experimental
426
426
!!
427
427
!! Gradient of the softplus function
428
- !> ([Specification](../page/specs/stdlib_specialfunctions.html#Softplus_grad ))
428
+ !> ([Specification](../page/specs/stdlib_specialfunctions.html#softplus_grad ))
429
429
#:for rk, rt in REAL_KINDS_TYPES
430
- elemental module function Softplus_grad_ ${rk}$( x ) result( y )
430
+ elemental module function softplus_grad_ ${rk}$( x ) result( y )
431
431
${rt}$, intent(in) :: x
432
432
${rt}$ :: y
433
433
end function
434
434
#:endfor
435
435
end interface
436
- public :: Softplus_grad
436
+ public :: softplus_grad
437
437
438
438
interface ftanh
439
439
!! Version: experimental
0 commit comments