From 65d97219834f2cb5b012ad10b16a64630a878351 Mon Sep 17 00:00:00 2001 From: Alejandro Perez Munoz Date: Sun, 10 Nov 2024 10:41:13 -0800 Subject: [PATCH] Disable the right line for pyre fixme (#1437) Summary: The `#pyre-fixme` was pointing to the wrong line. Differential Revision: D65729431 --- captum/_utils/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/captum/_utils/common.py b/captum/_utils/common.py index b4bee7937e..3ac7503d8f 100644 --- a/captum/_utils/common.py +++ b/captum/_utils/common.py @@ -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