Hey,
thanks for the quick reply. I have looked at the computational graph again.
I have the following problem and I am developing a program in C++ and I want to develop a self-supervised net. However, since I have already pre-trained the net in Python, I wrote an interface using Embedded Python. I am now wondering if I can use C++ to calculate the loss and then convert it to Python and then convert it to a torch variable and then use it to call my backward function. Would this have a negative impact on my training?