ikostrikov / pytorch-meta-optimizer

A PyTorch implementation of Learning to learn by gradient descent by gradient descent
MIT License
312 stars 54 forks source link

the meaning of preprocess_gradients function #9

Open littleso-so opened 5 years ago

littleso-so commented 5 years ago

Hi, I've learned so much from your code, but stiil have a small question. What does the function 'preprocess_gradients ' do in utils.py? Could you please explain it?