pytorch/torch/csrc/cuda/Tensor.cpp

19 lines
376 B
C++

#include <Python.h>
#include <structmember.h>
#include <TH/THMath.h>
#include <stdbool.h>
#include <vector>
#include <stack>
#include <tuple>
#include "THCP.h"
#include "override_macros.h"
#include "torch/csrc/copy_utils.h"
#define THC_GENERIC_FILE "torch/csrc/generic/Tensor.cpp"
#include <THC/THCGenerateAllTypes.h>
#include "undef_macros.h"
#include "restore_macros.h"