Open kjohew opened 3 years ago
self.bias = nn.Parameter(torch.Tensor(K, out_planes)) should be changed to self.bias = nn.Parameter(torch.zeros(K, out_planes))
self.bias = nn.Parameter(torch.Tensor(K, out_planes))
self.bias = nn.Parameter(torch.zeros(K, out_planes))
Thank you。
self.bias = nn.Parameter(torch.Tensor(K, out_planes))
should be changed toself.bias = nn.Parameter(torch.zeros(K, out_planes))