方式1:self.fc1.weight.data.normal_(0, 0.1)
方式2: nn.init
语法注意点:
setattr(self, 'bn%i' % i, bn)
上一篇 Spring Boot i18n
下一篇 Assertion `input
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号