Caffe2 - C++ API
A deep learning, cross platform ML framework
Storage.h
1 #ifndef TH_GENERIC_FILE
2 #define TH_GENERIC_FILE "torch/csrc/generic/Storage.h"
3 #else
4 
5 #include <torch/csrc/StorageDefs.h>
6 
7 THP_API PyObject * THPStorage_(New)(THWStorage *ptr);
8 extern PyObject *THPStorageClass;
9 
10 #ifdef _THP_CORE
11 #include <torch/csrc/Types.h>
12 
13 bool THPStorage_(init)(PyObject *module);
14 void THPStorage_(postInit)(PyObject *module);
15 
16 extern PyTypeObject THPStorageType;
17 #endif
18 
19 #endif