Tag: correctness
Detects if a torch variable is modified in place inside an assignment.
Checks if eval() is called before validating or testing a model.
Detects if Softmax is used with CrossEntropyLoss.
Detects if Softmax is explicitly computed.
Notebook has uninitialized variable usage given the execution order
The computation of the bceloss using sigmoid values as inputs can be replaced by a single BCEWithLogitsLoss which is numerically more stable.
Checks if Softmax
is used with NLLLoss
function.
Zero out the gradients before doing a backward pass