Hi,
We can use THCudaTensor_div to divide by a real number and THCudaTensor_cdiv to divide 2 tensors.
What is the best way to take reciprocal of elements of a THCudaTensor in a custom C++ extension.
Regards
Nabarun