We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baf6d9e commit 4f25c07Copy full SHA for 4f25c07
1 file changed
fl4health/utils/functions.py
@@ -19,7 +19,7 @@ class BernoulliSample(torch.autograd.Function):
19
"""
20
21
@staticmethod
22
- def forward(bernoulli_probs: torch.Tensor) -> torch.Tensor: # type: ignore
+ def forward(bernoulli_probs: torch.Tensor) -> torch.Tensor:
23
return torch.bernoulli(input=bernoulli_probs)
24
25
0 commit comments