摘要: 1、nn.Sequential 、 nn.ModuleList 、 nn.ModuleDict 类都继承自 Module 类。 2、各自用法 net = nn.Sequential(nn.Linear(128, 256), nn.ReLU())​net = nn.ModuleList([nn.Lin 阅读全文
posted @ 2023-08-23 16:53 rose_halo 阅读(277) 评论(0) 推荐(0)