torch
Preparing search index...
nn
CrossEntropyLoss
Class CrossEntropyLoss
Hierarchy
Loss
CrossEntropyLoss
Index
Constructors
constructor
Methods
forward
Constructors
constructor
new
CrossEntropyLoss
(
reduction
?:
Reduction
)
:
CrossEntropyLoss
Parameters
reduction
:
Reduction
= 'mean'
Returns
CrossEntropyLoss
Methods
forward
forward
(
input
:
Tensor
,
target
:
Tensor
)
:
Tensor
Parameters
input
:
Tensor
target
:
Tensor
Returns
Tensor
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
forward
torch
Loading...