I can’t figure out how this gets translated to a routine in the tensor library.
a line like:
THTensor *self = THAlloc(sizeof(THTensor));
becomes:
THDoubleTensor *self = THAlloc(sizeof(THDoubleTensor));
and I can find routines like: THDoubleTensor_newWithSize in the tensor library
I would expect this line:
THTensor_(rawInit)(self);
to result in a routine like THDoubleTensor_rawInit,
but I can’t find this name in the library.
Thanks.