(shape: Iterable[Union[int, torch.SymInt]])
| 82 | |
| 83 | |
| 84 | def eval_shape_upper_bound(shape: Iterable[Union[int, torch.SymInt]]) -> List[int]: |
| 85 | new_shape = [] |
| 86 | for _, s in enumerate(shape): |
| 87 | new_shape.append(eval_upper_bound(s)) |
| 88 | return new_shape |
| 89 | |
| 90 | |
| 91 | def collect_free_symbols( |
no test coverage detected