File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -566,7 +566,7 @@ def call_scan(
566566 num_init = len (init )
567567 # The x_element placeholders are at indices [num_init : num_init + num_xs]
568568 xs_element_data = []
569- for i , x_proxy in enumerate ( xs ):
569+ for i in range ( 0 , len ( xs ) ):
570570 ph = combine_fn_placeholders [num_init + i ]
571571 # Use the placeholder's val which has the correct shape
572572 xs_element_data .append (ph .meta ["val" ])
Original file line number Diff line number Diff line change 77# pyre-strict
88
99import operator
10- from typing import List , Optional
10+ from typing import Optional
1111
1212import torch
1313from executorch .exir .delegate import executorch_call_delegate
14- from executorch .exir .pass_base import ExportPass , NodeMetadata , ProxyValue
14+ from executorch .exir .pass_base import ExportPass , ProxyValue
1515from executorch .exir .tensor import TensorSpec
1616from torch .export .exported_program import ExportGraphSignature
1717from torch .fx .node import Node
You can’t perform that action at this time.
0 commit comments