Skip to content

Commit

Permalink
Disable the right line for pyre fixme (#1437)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #1437

The `#pyre-fixme` was pointing to the wrong line.

Reviewed By: sarahtranfb

Differential Revision: D65729431

fbshipit-source-id: f8191edc8620e93c99c17f52d6e7b6711b67165e
  • Loading branch information
cyrjano authored and facebook-github-bot committed Nov 11, 2024
1 parent 86af5e1 commit 69d6939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion captum/_utils/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,8 +691,8 @@ def _contains_slice(target: Union[int, Tuple[Union[int, slice], ...]]) -> bool:


def _verify_select_column(
# pyre-fixme[24]: Generic type `slice` expects 3 type parameters.
output: Tensor,
# pyre-fixme[24]: Generic type `slice` expects 3 type parameters.
target: Union[int, Tuple[Union[int, slice], ...]],
) -> Tensor:
target = (target,) if isinstance(target, int) else target
Expand Down

0 comments on commit 69d6939

Please sign in to comment.