Skip to content

Commit

Permalink
typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe5 committed Dec 21, 2023
1 parent e996018 commit edba342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/brevitas/utils/torch_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def kthvalue(
k: int,
dim: Optional[int] = None,
keepdim: bool = False,
out: Optional[Tuple] = None) -> torch.Tensor:
out: Optional[Tuple[torch.Tensor, torch.LongTensor]] = None) -> torch.Tensor:
# As of torch 2.1, there is no kthvalue implementation:
# - In CPU for float16
# - In GPU for bfloat16
Expand Down

0 comments on commit edba342

Please sign in to comment.