mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
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.
9 lines
144 B
C
9 lines
144 B
C
#ifndef THP_MODULE_INC
|
|
#define THP_MODULE_INC
|
|
|
|
#define THP_STATELESS_ATTRIBUTE_NAME "_torch"
|
|
|
|
extern THPGenerator *THPDefaultGenerator;
|
|
|
|
#endif
|