loss.backward()
Distribution
class torch.distributions.distribution.Distribution(batch_shape=torch.Size([]), event_shape=torch.Size([]), validate_args=None)
Bases: "object"
Distribution is the abstract base class for probability
   distributions.
property arg_constraints: Dict[str, Constraint]
  Returns a dictionary from argument names to "Constraint" objects
  that should be satisfied by each argument of this distribution.
  Args that are not tensors need not appear in this dict.

property batch_shape: Size
  Returns the shape over which parameters are batched.

cdf(value)
  Returns the cumulative density/mass function evaluated at
  *value*.

  Parameters:
     **value** (*Tensor*) --

  Return type:
     *Tensor*

entropy()
  Returns entropy of distribution, batched over batch_shape.

  Returns:
     Tensor of shape batch_shape.

  Return type:
     *Tensor*

enumerate_support(expand=True)