ptrblck:

a = torch.randn(64, 1, 3, 3)
b = torch.zeros(1, 3, 3)
b[0, 0, 0] = 1
c = a * b


Your code returns an error:
Traceback (most recent call last):
  File "main.py", line 13, in <module> 
    c = a * b
  File ".../python3.6/site-packages/torch/tensor.py", line 283, in __mul__
    return self.mul(other)
RuntimeError: inconsistent tensor size at ...

I am working with the version 0.1.12_1.