Closed domenicodigangi closed 3 years ago
Then models should have this class as superclass or attribute (probably attribute since they should inherit from torch.nn.module). And they should have parameters as attributes. Methods to be refactored:
done using inheritance, grouped methods in dirSpW1_funs. Sequence models inherit from dirSpW1_funs that in turn inherits from torch.nn.Module
Done for weighted fitness model
Then models should have this class as superclass or attribute (probably attribute since they should inherit from torch.nn.module). And they should have parameters as attributes. Methods to be refactored: