Skip to content

Commit 4f25c07

Browse files
committed
Removing the type ignores
1 parent baf6d9e commit 4f25c07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fl4health/utils/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class BernoulliSample(torch.autograd.Function):
1919
"""
2020

2121
@staticmethod
22-
def forward(bernoulli_probs: torch.Tensor) -> torch.Tensor: # type: ignore
22+
def forward(bernoulli_probs: torch.Tensor) -> torch.Tensor:
2323
return torch.bernoulli(input=bernoulli_probs)
2424

2525
@staticmethod

0 commit comments

Comments
 (0)