Hi,
Normally one would use a forward pass to calculate a loss and then perform a backward pass and the gradient is automatically calculated.
My situation is that I don’t have the loss but I have the gradient calculated. My question is how do I set a custom gradient to a network (fully connected) and run the backward optimization using the custom gradient? Thanks