What is the actual purpose of _temp1 and _temp2 in the calculation for backward propagation ?


How is needs_input_grad[] used ?


Why is there sqrt() operation when the AdderNet paper does not use it in backward propagation equation ?


How is this new_dist() function different from the implementation of forward() and backward() in https://pytorch.org/docs/master/notes/extending.html 2 ?


How can I eliminate GPU out-of-memory runtime error reported in new_dist() 2 ?