grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
NegativeLogLikelihood.backward
grain
functions
loss
NegativeLogLikelihood
Undocumented in source. Be warned that the author may not have intended to support it.
auto
backward
(Variable!(F, 0, HostStorage) gy)
auto
backward
(Variable!(F, 0, DeviceStorage) gy)
struct
NegativeLogLikelihood
(F, I = long)
version(grain_cuda)
auto
backward
(
Variable
!(
F
, 0,
DeviceStorage
)
gy
)
Meta
Source
See Implementation
grain
functions
loss
NegativeLogLikelihood
functions
backward
forward
mixins
__anonymous
variables
_dtargetId
_htargetId
_nClass
_normalize
ignoreIndex
sizeAverage