mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Fixes #ISSUE_NUMBER Pull Request resolved: https://github.com/pytorch/pytorch/pull/119667 Approved by: https://github.com/Skylion007
16 lines
380 B
C++
16 lines
380 B
C++
#ifndef __STDC_FORMAT_MACROS
|
|
#define __STDC_FORMAT_MACROS
|
|
#endif
|
|
|
|
// Order of these includes matters, which should be fixed.
|
|
// clang-format off
|
|
#include <torch/csrc/python_headers.h>
|
|
#include <structmember.h>
|
|
|
|
#include <torch/csrc/cuda/THCP.h>
|
|
|
|
#include <torch/csrc/utils/tensor_numpy.h>
|
|
#include <torch/csrc/copy_utils.h>
|
|
#include <torch/csrc/DynamicTypes.h>
|
|
// clang-format on
|