Say I have a sequential model as follows.
model = nn.Sequential(
nn.Linear(16, 12),
nn.ReLU(),
nn.Linear(12, 10),
nn.ReLU(),
nn.Linear(10, 1),
nn.Sigmoid()
)
How can I split it into two different models, with model containing a couple of layers?