Unverified Commit 8096c1b5 authored by peterbell10's avatar peterbell10 Committed by GitHub
Browse files

Fix missing Torch includes (#5118)

* Fix missing Torch includes

* Import op_registration directly
parent 55f7faf3
#include "image.h" #include "image.h"
#include <ATen/core/op_registration/op_registration.h>
#include <Python.h> #include <Python.h>
// If we are in a Windows environment, we need to define // If we are in a Windows environment, we need to define
......
#include "../deform_conv2d.h" #include "../deform_conv2d.h"
#include <ATen/autocast_mode.h> #include <ATen/autocast_mode.h>
#include <torch/library.h>
#include <torch/types.h> #include <torch/types.h>
namespace vision { namespace vision {
......
#include "../nms.h" #include "../nms.h"
#include <ATen/autocast_mode.h> #include <ATen/autocast_mode.h>
#include <torch/library.h>
#include <torch/types.h> #include <torch/types.h>
namespace vision { namespace vision {
......
#include "../ps_roi_align.h" #include "../ps_roi_align.h"
#include <ATen/autocast_mode.h> #include <ATen/autocast_mode.h>
#include <torch/library.h>
#include <torch/types.h> #include <torch/types.h>
namespace vision { namespace vision {
......
#include "../ps_roi_pool.h" #include "../ps_roi_pool.h"
#include <ATen/autocast_mode.h> #include <ATen/autocast_mode.h>
#include <torch/library.h>
#include <torch/types.h> #include <torch/types.h>
namespace vision { namespace vision {
......
#include "../roi_align.h" #include "../roi_align.h"
#include <ATen/autocast_mode.h> #include <ATen/autocast_mode.h>
#include <torch/library.h>
#include <torch/types.h> #include <torch/types.h>
namespace vision { namespace vision {
......
#include "../roi_pool.h" #include "../roi_pool.h"
#include <ATen/autocast_mode.h> #include <ATen/autocast_mode.h>
#include <torch/library.h>
#include <torch/types.h> #include <torch/types.h>
namespace vision { namespace vision {
......
#include "deform_conv2d.h" #include "deform_conv2d.h"
#include <ATen/core/dispatch/Dispatcher.h>
#include <torch/library.h>
#include <torch/types.h> #include <torch/types.h>
namespace vision { namespace vision {
......
#include "interpolate_aa.h" #include "interpolate_aa.h"
#include <ATen/core/dispatch/Dispatcher.h>
#include <torch/library.h>
#include <torch/types.h> #include <torch/types.h>
namespace vision { namespace vision {
......
#include "nms.h" #include "nms.h"
#include <ATen/core/dispatch/Dispatcher.h>
#include <torch/library.h>
#include <torch/types.h> #include <torch/types.h>
namespace vision { namespace vision {
......
#include "ps_roi_align.h" #include "ps_roi_align.h"
#include <ATen/core/dispatch/Dispatcher.h>
#include <torch/library.h>
#include <torch/types.h> #include <torch/types.h>
namespace vision { namespace vision {
......
#include "ps_roi_pool.h" #include "ps_roi_pool.h"
#include <ATen/core/dispatch/Dispatcher.h>
#include <torch/library.h>
#include <torch/types.h> #include <torch/types.h>
namespace vision { namespace vision {
......
#include "roi_align.h" #include "roi_align.h"
#include <ATen/core/dispatch/Dispatcher.h>
#include <torch/library.h>
#include <torch/types.h> #include <torch/types.h>
namespace vision { namespace vision {
......
#include "roi_pool.h" #include "roi_pool.h"
#include <ATen/core/dispatch/Dispatcher.h>
#include <torch/library.h>
#include <torch/types.h> #include <torch/types.h>
namespace vision { namespace vision {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment