Skip to content

Commit 6e09d32

Browse files
bobrenjc93pytorchmergebot
authored andcommitted
remove allow-untyped-defs from torch/jit/_passes/_property_propagation.py (pytorch#144132)
Pull Request resolved: pytorch#144132 Approved by: https://github.com/Skylion007
1 parent eb7a303 commit 6e09d32

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

torch/jit/_passes/_property_propagation.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# mypy: allow-untyped-defs
21
"""
32
Tools to help with tensor property propagation.
43
@@ -13,7 +12,7 @@
1312
from torch._C import Graph
1413

1514

16-
def apply_input_props_using_example(graph: Graph, example_input: List[Any]):
15+
def apply_input_props_using_example(graph: Graph, example_input: List[Any]) -> None:
1716
"""
1817
Applies properties for each tensor in the graph inputs
1918
using the example supplied.

0 commit comments

Comments
 (0)