Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
Co-authored-by: Lorenzo Stella <[email protected]>
  • Loading branch information
Borda and lostella authored Apr 19, 2024
1 parent 28cccc5 commit f59c491
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gluonts/torch/distributions/binned_uniforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,9 @@ def _cdf_binned(self, x):
Cumulative density tensor for a tensor of data points `x`.
'x' is expected to be of shape (*batch_shape). The cdf is composed of 2
parts: the cdf up to the bin the cdf within the bin that the point
falls into (modeled with a uniform distribution)
parts:
- the cdf up to the bin
- the cdf within the bin that the point falls into (modeled with a uniform distribution)
"""

bins_prob = self.bins_prob
Expand Down

0 comments on commit f59c491

Please sign in to comment.