At dispatch long types

Hi, I am working on extending pytorch using c++.

Is there a macro that realize function into long type tensor??

Also, if there is any documentation for this kind of API?

If it is, please provide link for me.

Thanks,

You might want to dig into the source code of Pytorch.
That is how I start working on C++ extension for Pytorch…

Yeah, I think so.
For now, I just fix the type of tensor.
Thanks,