How do I pass numpy array to conv2d weight for initialization?
I tried using fill_ but apprarently it only support for 0-dimension value.
My numpy_data is 4-dimension array.
Here’s what I tried:

myModel = Net()
layers = [x.data for x in myModel.parameters()]
layers[idx].data.fill_( numpy_data )