@sourceacademy/torch
Preparing search index...
softmax
Function softmax
softmax
(
input
:
Tensor
,
dim
:
number
)
:
Tensor
Computes the softmax of the input tensor along the given dimension.
Parameters
input
:
Tensor
dim
:
number
Returns
Tensor
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@sourceacademy/torch
Loading...
Computes the softmax of the input tensor along the given dimension.