def METHOD_NAME(self):
    class Model(torch.nn.Module):
        def __init__(self):
            super().__init__()
            self.p = torch.nn.Parameter(torch.rand(6))
            self.q = self.p
        def forward(self, x):
            return self.p * x + self.q
    model = Model()
    example_inputs = (torch.rand(6),)
    expected = model(*example_inputs)
    actual = torch._export.export(model, example_inputs)(*example_inputs)
    self.assertTrue(same(actual, expected))