ref: http://rnduja.github.io/2015/10/05/deep_learning_with_torch_step_3_nn_criterions/
doc: https://github.com/torch/nn/blob/master/doc/criterion.md
Criterion: abstract class, given input and target(true label), a Criterion can compute the gradient according to a certain loss function.
Criterion class
important methods:
forward(input, target): compute the …

