type
status
date
slug
summary
tags
category
icon
password
FutureWarning:
nn.init.orthogonal
is now deprecated in favor of nn.init.orthogonal_
.nn.init.orthogonal(self.lstm.weight_hh_l0)这是新版torch的警告,也就是正交初始化的方法被重写了,现在使用
nn.init.orthogonal_
,也就是加个下划线即可。- Author:Kecilimu
- URL:https://kecilimu-notion.vercel.app//article/20241002210208
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!