-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
权重初始化 #43
Comments
这是Linear() layer 的一个功能, 每次初始化都会reset parameters, 而且使用uniform distribution初始化。 |
那对于后面的CNN的那个代码,卷积层也没有显式的初始化,但我看conv2d并没有像Linear这样能自动初始化鸭。 |
这是conv2d 最终会调用到的源码:
|
蟹蟹! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
代码里在网络训练之前没有看到权重初始化的语句,不初始化权重的话都为0了,怎么训练的鸭?
或者是代码里用哪部分对权重初始化了?
谢谢~
The text was updated successfully, but these errors were encountered: