Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion exir/passes/sym_shape_eval_pass.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def call(self, graph_module: GraphModule):
for i, v in enumerate(spec.shape):
if concrete_shape[i] is None:
# get updated shape from var_to_range
_value_range = shape_env.var_to_range[
_value_range = shape_env.var_to_range[ # pyre-fixme[16] `Optional` has no attribute `var_to_range`.
v._sympy_() # pyre-fixme[16] Undefined attribute: `int` has no attribute `_sympy_`.
]
# cannot handle unbounded, unbacked symints; add a range to bound it.
Expand Down
Loading