|
def | __init__ (self, concentration, validate_args=None) |
|
def | expand (self, batch_shape, _instance=None) |
|
def | rsample (self, sample_shape=()) |
|
def | log_prob (self, value) |
|
def | mean (self) |
|
def | variance (self) |
|
def | entropy (self) |
|
def | entropy (self) |
|
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) |
|
|
| arg_constraints |
|
| support |
|
| has_rsample |
|
| has_rsample |
|
| has_enumerate_support |
|
| support |
|
| arg_constraints |
|
|
def | set_default_validate_args (value) |
|
Definition at line 29 of file dirichlet.py.
The documentation for this class was generated from the following file: