Is there a better way to make require_grad=False for all the parameters of conv2 in init method itself?
Currently I am making them False by individually making require grad=False for each parameter of the layer.
like self.conv2.weight=False
self.bn2.weight = False
…
…