torch.distributions.gumbel.Gumbel Class Reference

Inheritance diagram for torch.distributions.gumbel.Gumbel:

## Public Member Functions | |

def | __init__ (self, loc, scale, validate_args=None) |

def | expand (self, batch_shape, _instance=None) |

def | log_prob (self, value) |

def | mean (self) |

def | stddev (self) |

def | variance (self) |

def | entropy (self) |

Public Member Functions inherited from torch.distributions.transformed_distribution.TransformedDistribution | |

def | __init__ (self, base_distribution, transforms, validate_args=None) |

def | expand (self, batch_shape, _instance=None) |

def | support (self) |

def | has_rsample (self) |

def | sample (self, sample_shape=torch.Size()) |

def | rsample (self, sample_shape=torch.Size()) |

def | log_prob (self, value) |

def | cdf (self, value) |

def | icdf (self, value) |

Public Member Functions inherited from torch.distributions.distribution.Distribution | |

def | __init__ (self, batch_shape=torch.Size(), event_shape=torch.Size(), validate_args=None) |

def | expand (self, batch_shape, _instance=None) |

def | batch_shape (self) |

def | event_shape (self) |

def | arg_constraints (self) |

def | support (self) |

def | mean (self) |

def | variance (self) |

def | stddev (self) |

def | sample (self, sample_shape=torch.Size()) |

def | rsample (self, sample_shape=torch.Size()) |

def | sample_n (self, n) |

def | log_prob (self, value) |

def | cdf (self, value) |

def | icdf (self, value) |

def | enumerate_support (self, expand=True) |

def | entropy (self) |

def | perplexity (self) |

def | __repr__ (self) |

## Public Attributes | |

scale | |

Public Attributes inherited from torch.distributions.transformed_distribution.TransformedDistribution | |

base_dist | |

transforms | |

## Static Public Attributes | |

arg_constraints | |

support | |

Static Public Attributes inherited from torch.distributions.transformed_distribution.TransformedDistribution | |

arg_constraints | |

Static Public Attributes inherited from torch.distributions.distribution.Distribution | |

has_rsample | |

has_enumerate_support | |

support | |

arg_constraints | |

## Additional Inherited Members | |

Static Public Member Functions inherited from torch.distributions.distribution.Distribution | |

def | set_default_validate_args (value) |

The documentation for this class was generated from the following file:

- torch/distributions/gumbel.py

Generated on Thu Mar 21 2019 13:06:39 for Caffe2 - Python API by 1.8.11