摘要: 0 - inplace 在pytorch中,nn.ReLU(inplace=True)和nn.LeakyReLU(inplace=True)中存在inplace字段。该参数的inplace=True的意思是进行原地操作,例如: x=x+5是对x的原地操作 y=x+5,x=y不是对x的原地操作 所以, 阅读全文
posted @ 2019-04-29 15:45 CZiFan 阅读(7541) 评论(0) 推荐(2) 编辑