Closed EnricoTrizio closed 4 months ago
This PR adds a SequentialTransform helper class that allows combining multiple trasforms in a sequential way to fix #140. The new class works exactly like torch.nn.Sequential but also has in_features and out_features attributes.
SequentialTransform
torch.nn.Sequential
in_features
out_features
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 92.56%. Comparing base (d9640bd) to head (d12bf39).
d9640bd
d12bf39
Description
This PR adds a
SequentialTransform
helper class that allows combining multiple trasforms in a sequential way to fix #140. The new class works exactly liketorch.nn.Sequential
but also hasin_features
andout_features
attributes.Status