def METHOD_NAME(self):
    vgg_layers = getattr(self, self.module_name)
    for i in range(self.frozen_stages):
        for j in range(*self.range_sub_modules[i]):
            m = vgg_layers[j]
            m.eval()
            for param in m.parameters():
                param.requires_grad = False