code: def __init__(self):
      super().__init__()
      self.layer_1 = nn.Linear(32, 10, bias=False)
      self.layer_2 = nn.Linear(10, 32, bias=False)
      self.layer_3 = nn.Linear(32, 10, bias=False)
      self.layer_3.weight = self.layer_1.weight
  
file_path: pytorch-lightning/tests/tests_pytorch/utilities/test_parameter_tying.py
imports: import pytest
  import torch
  from lightning.pytorch.demos.boring_classes import BoringModel
  from lightning.pytorch.utilities import find_shared_parameters, set_shared_parameters
  from torch import nn
label_desc: Use image node_id 1 to create a new ParameterSharingModule object from inherited base classes: BoringModel with example: obj = ParameterSharingModule()