Solved by ahhhhah in post #3 
              
              
                Hi, 
Thanks for your reply! 
I will try to use the approach to init with constant values. 
I solve this problem by updating the torch version. 
when the torch version is 0.4.0 
import torch
dir(torch.nn.init)

and can not find ‘zeros_’ in the result.  So I updata the torch version(0.4.1). 
Thanks !  …