(self, X)
| 97 | # The only thing that we have to do is to write the parametrization as a regular ``nn.Module`` |
| 98 | class Symmetric(nn.Module): |
| 99 | def forward(self, X): |
| 100 | return X.triu() + X.triu(1).transpose(-1, -2) |
| 101 | |
| 102 | ############################################################################### |
| 103 | # This is all we need to do. Once we have this, we can transform any regular layer into a |
nothing calls this directly
no outgoing calls
no test coverage detected