The reset_parameter method is defined for each module (or its base class), as seen here 33 for your conv layer.
The difference between both codes is, that the first one will use the default initialization which was specified for the particular layer, while the second approach will use your defined initialization (in your example xavier_uniform).