Solved by chenglu in post #2 
              
              
                You forgot bias 
print(c.bias)

you could set bias to False by 
c = nn.Conv2d(1, 1, 1, bias=False)

will produce your expected result.