def initialize()

in hype/checkpoint.py [0:0]


    def initialize(self, params):
        if not self.start_fresh and os.path.isfile(self.path):
            print(f'Loading checkpoint from {self.path}')
            with path_manager.open(self.path, 'rb') as fin:
                return torch.load(fin)
        else:
            return params