Skip to content

Commit

Permalink
Fix tuple type hint to a variable length tuple.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Zickel committed Mar 17, 2024
1 parent b812fe4 commit c4e4fb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyro/ops/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def quantile(input, probs, dim=0):

def weighed_quantile(
input: torch.Tensor,
probs: Union[List[float], Tuple[float], torch.Tensor],
probs: Union[List[float], Tuple[float, ...], torch.Tensor],
log_weights: torch.Tensor,
dim: int = 0,
) -> torch.Tensor:
Expand Down

0 comments on commit c4e4fb9

Please sign in to comment.