/usr/local/lib64/python3.6/site-packages/torch/include/torch/csrc
NameSizeModeActions
api/-0755rm
autograd/-0755rm
cuda/-0755rm
jit/-0755rm
onnx/-0755rm
tensor/-0755rm
utils/-0755rm
copy_utils.h26580644editdlrm
CudaIPCTypes.h34440644editdlrm
DataLoader.h2220644editdlrm
Device.h5000644editdlrm
Dtype.h7750644editdlrm
DynamicTypes.h10030644editdlrm
Exceptions.h146780644editdlrm
Generator.h9340644editdlrm
Layout.h5400644editdlrm
MemoryFormat.h6260644editdlrm
Module.h1010644editdlrm
PythonTypes.h2960644editdlrm
python_dimname.h2140644editdlrm
python_headers.h5020644editdlrm
QScheme.h5610644editdlrm
serialization.h7090644editdlrm
Size.h3700644editdlrm
Storage.h31780644editdlrm
StorageDefs.h730644editdlrm
Stream.h3740644editdlrm
THP.h13080644editdlrm
THP_export.h3410644editdlrm
TypeInfo.h4980644editdlrm
Types.h2900644editdlrm
utils.h100320644editdlrm
WindowsTorchApiMacro.h1330644editdlrm
Edit: /usr/local/lib64/python3.6/site-packages/torch/include/torch/csrc/THP.h (1308B)
#ifndef THP_H #define THP_H #include #include #include #include // Back-compatibility macros, Thanks to http://cx-oracle.sourceforge.net/ // define PyInt_* macros for Python 3.x. NB: We must include Python.h first, // otherwise we'll incorrectly conclude PyInt_Check isn't defined! #ifndef PyInt_Check #define PyInt_Check PyLong_Check #define PyInt_FromLong PyLong_FromLong #define PyInt_AsLong PyLong_AsLong #define PyInt_Type PyLong_Type #endif // By default, don't specify library state (TH doesn't use one) #define LIBRARY_STATE #define LIBRARY_STATE_NOARGS #define LIBRARY_STATE_TYPE #define LIBRARY_STATE_TYPE_NOARGS #define THWStorage THStorage #define THWStorage_(NAME) THStorage_(NAME) #define THWTensor THTensor #define THWTensor_(NAME) THTensor_(NAME) #include #include #include #include #include #include #include // This requires defined Storage and Tensor types #include #include #include #endif