&       \text{if reduction} = \text{`sum'.}   \end{cases}
Note:
 The performance of this criterion is generally better when
 *target* contains class indices, as this allows for optimized
 computation. Consider providing *target* as class probabilities
 only when a single class label per minibatch item is too
 restrictive.

Parameters:
      * weight (Tensor, optional) -- a manual rescaling
        weight given to each class. If given, has to be a Tensor of
        size C
  * **size_average** (*bool**, **optional*) -- Deprecated (see
    "reduction"). By default, the losses are averaged over each
    loss element in the batch. Note that for some losses, there
    are multiple elements per sample. If the field "size_average"
    is set to "False", the losses are instead summed for each
    minibatch. Ignored when "reduce" is "False". Default: "True"

  * **ignore_index** (*int**, **optional*) -- Specifies a target
