examples/research_projects/visual_bert/modeling_frcnn.py/ResNetBlockBase/freeze
class ResNetBlockBase:    def freeze(self):
        for p in self.parameters():
            p.requires_grad = False
        return self