(self)
| 120 | self.org_bias = None |
| 121 | self.is_diff = False |
| 122 | |
| 123 | def restore(self): |
| 124 | self.org_module[0].forward = self.org_forward |
| 125 | self.org_module[0].weight = nn.Parameter(self._org_weight[0]) |
| 126 | if self.org_bias is not None: |
| 127 | self.org_module[0].bias = nn.Parameter(self.org_bias[0]) |
| 128 | |
| 129 | def custom_state_dict(self): |
nothing calls this directly
no outgoing calls
no test coverage detected