zc-alexfan/arctic

Purpose of `toggle_parameters`

kabouzeid opened this issue · 1 comments

What is the purpose of toggle_parameters here?

torch_utils.toggle_parameters(self, True)

True means the parameters of self are set to required gradients. False, otherwise.