This is to simulate PyTorch NLL layer which computes a negative expectation loss. Labels are passed in as integer indices.
__init__()
backward()
In this case, the gradient vector w.r.t.
forward(inputs, feedbacks=None)
where
step(lr=0.01)
This is to simulate PyTorch NLL layer which computes a negative expectation loss. Labels are passed in as integer indices.
__init__()
backward()
In this case, the gradient vector w.r.t.
forward(inputs, feedbacks=None)
where
step(lr=0.01)