src/transformers/models/regnet/convert_regnet_seer_10b_to_pytorch.py/Tracker/__call__
class Tracker:    def __call__(self, x: Tensor):
        for name, m in self.module.named_modules():
            self.handles.append(m.register_forward_hook(partial(self._forward_hook, name=name)))
        self.module(x)
        [x.remove() for x in self.handles]
        return self