When splitting a predefined nn.Sequential inorder to get intermediate layer output in forward, can we split it directly like using model.submodel_name[:n] (which I found is still a nn.Sequential)  instead of extracting layers from model.children and wrap them again in a nn.Sequential? Is there any issues to concern about? Thanks.
螢幕快照 2020-11-09 下午11.29.461674×352 64 KB