(self, x)
| 2038 | def test_normalize_view_copy_base_pass(self) -> None: |
| 2039 | class ViewChain(torch.nn.Module): |
| 2040 | def forward(self, x): |
| 2041 | x = torch.ops.aten.view_copy.default(x, [30, 1]) |
| 2042 | x = torch.ops.aten.view_copy.default(x, [5, 6]) |
| 2043 | x = torch.ops.aten.view_copy.default(x, [2, 15]) |
| 2044 | x = torch.ops.aten.view_copy.default(x, [3, -1]) |
| 2045 | return x |
| 2046 | |
| 2047 | def is_view_copy(node: torch.fx.Node) -> bool: |
| 2048 | return ( |