Files
pytorch/torch/csrc/Module.h
Sam Gross 48a3349c29 Delete dead Tensor code paths (#5417)
This deletes most of the dead Tensor code paths, including the TensorMethods cwrap and generic/Tensor.cpp.

This also moves the THNN.cwrap/.cpp generation to generate_code which can use ninja if installed.
2018-02-27 17:58:09 -05:00

9 lines
144 B
C

#ifndef THP_MODULE_INC
#define THP_MODULE_INC
#define THP_STATELESS_ATTRIBUTE_NAME "_torch"
extern THPGenerator *THPDefaultGenerator;
#endif