PadNd.h 380 B

1234567891011121314151617
  1. #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
  2. #pragma once
  3. namespace at {
  4. enum class padding_mode {
  5. reflect,
  6. replicate,
  7. circular,
  8. constant,
  9. };
  10. } // namespace at
  11. #else
  12. #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
  13. #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)