""max"". Specifies the way to reduce the bag. ""sum"" computes
        the weighted sum, taking "per_sample_weights" into
        consideration. ""mean"" computes the average of the values in
        the bag, ""max"" computes the max value over each bag.
        Default: ""mean""
  * **sparse** (*bool**, **optional*) -- if "True", gradient
    w.r.t. "weight" matrix will be a sparse tensor. See Notes for
    more details regarding sparse gradients. Note: this option is
    not supported when "mode="max"".

  * **include_last_offset** (*bool**, **optional*) -- if "True",
    "offsets" has one additional element, where the last element
    is equivalent to the size of *indices*. This matches the CSR
    format.

  * **padding_idx** (*int**, **optional*) -- If specified, the
    entries at "padding_idx" do not contribute to the gradient;
    therefore, the embedding vector at "padding_idx" is not
