common.h 374 B

1234567
  1. #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
  2. #include "detail/common.h"
  3. #warning "Including 'common.h' is deprecated. It will be removed in v3.0. Use 'pybind11.h'."
  4. #else
  5. #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
  6. #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)