L=f1+f2
where f1 is working with pytorch tensors, and output is a tensor.
and f2 is using some numpy function.
and I am calling L.backward.
I am not getting any error. Also Network is getting the effect of introducing f2 in loss during training.
Is everything ok here…Or some thing fishy.
Thanks.