Use torch.nn.Sequential to chain layers, but match input outputs.

#pytorch #deeplearning #python