xxxxxxxxxx
model = nn.Sequential(OrderedDict([
('conv1', nn.Conv2d(1,20,5)),
('relu1', nn.ReLU()),
('conv2', nn.Conv2d(20,64,5)),
('relu2', nn.ReLU())
]))
n_layers = len(model)/2
https://pytorch.org/docs/stable/generated/torch.nn.Sequential.html