I am wondering if there are documents about pytorch Tensor c/c++ API functions such as THTensor_(newSelect), THTensor_(select), or header files with short comments about the usage / functionality of these funtions.
I am writing some c/c++ code to extend Pytorch but do not know how to use these c/c++ API. For example, does THTensor_(newSelect) return a shallow or deep copy of the input tensor? What about THTensor_(select)?
Thanks