对Pytorch中nn.ModuleList 和 nn.Sequential详解 简而言之就是,nn.Sequential类似于Keras中的贯序模型,它是Module的子类,在构建数个网络层之 nn.ModuleList