2022年2月27日
摘要: 构造模型的pytorch代码 使用有序字典构造模块 layers = OrderedDict() # 定义一个有序字典 layers.update({"expand_conv": 层结构}) # 添加层结构 self.block = nn.Sequential(layers) # 将有序字典转化为前 阅读全文
posted @ 2022-02-27 09:48 低八度 阅读(371) 评论(0) 推荐(0) 编辑