Caffe2 - C++ API
A deep learning, cross platform ML framework
restore_macros.h
1 
2 #define THWTensor TH_CONCAT_3(TH,Real,Tensor)
3 #define THWTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
4 
5 #define THPTensor TH_CONCAT_3(THP,Real,Tensor)
6 #define THPTensorStr TH_CONCAT_STRING_3(torch.,Real,Tensor)
7 #define THPTensorClass TH_CONCAT_3(THP,Real,TensorClass)
8 #define THPTensor_(NAME) TH_CONCAT_4(THP,Real,Tensor_,NAME)
9 
10 #define THPStorageStr TH_CONCAT_STRING_3(torch.,Real,Storage)
11 #define THPStorageClass TH_CONCAT_3(THP,Real,StorageClass)
12 #define THPStorage_(NAME) TH_CONCAT_4(THP,Real,Storage_,NAME)
13 
14 #ifdef _THP_CORE
15 #define THWStoragePtr TH_CONCAT_3(TH,Real,StoragePtr)
16 #define THWTensorPtr TH_CONCAT_3(TH,Real,TensorPtr)
17 #define THPStoragePtr TH_CONCAT_3(THP,Real,StoragePtr)
18 #define THPTensorPtr TH_CONCAT_3(THP,Real,TensorPtr)
19 #endif