Skip to content

Commit ed4e0b7

Browse files
authored
Merge branch 'main' into food-101-dataset
2 parents fa73c17 + 8096c1b commit ed4e0b7

14 files changed

+21
-0
lines changed

torchvision/csrc/io/image/image.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "image.h"
22

3+
#include <ATen/core/op_registration/op_registration.h>
34
#include <Python.h>
45

56
// If we are in a Windows environment, we need to define

torchvision/csrc/ops/autocast/deform_conv2d_kernel.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "../deform_conv2d.h"
22

33
#include <ATen/autocast_mode.h>
4+
#include <torch/library.h>
45
#include <torch/types.h>
56

67
namespace vision {

torchvision/csrc/ops/autocast/nms_kernel.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "../nms.h"
22

33
#include <ATen/autocast_mode.h>
4+
#include <torch/library.h>
45
#include <torch/types.h>
56

67
namespace vision {

torchvision/csrc/ops/autocast/ps_roi_align_kernel.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "../ps_roi_align.h"
22

33
#include <ATen/autocast_mode.h>
4+
#include <torch/library.h>
45
#include <torch/types.h>
56

67
namespace vision {

torchvision/csrc/ops/autocast/ps_roi_pool_kernel.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "../ps_roi_pool.h"
22

33
#include <ATen/autocast_mode.h>
4+
#include <torch/library.h>
45
#include <torch/types.h>
56

67
namespace vision {

torchvision/csrc/ops/autocast/roi_align_kernel.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "../roi_align.h"
22

33
#include <ATen/autocast_mode.h>
4+
#include <torch/library.h>
45
#include <torch/types.h>
56

67
namespace vision {

torchvision/csrc/ops/autocast/roi_pool_kernel.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "../roi_pool.h"
22

33
#include <ATen/autocast_mode.h>
4+
#include <torch/library.h>
45
#include <torch/types.h>
56

67
namespace vision {

torchvision/csrc/ops/deform_conv2d.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#include "deform_conv2d.h"
22

3+
#include <ATen/core/dispatch/Dispatcher.h>
4+
#include <torch/library.h>
35
#include <torch/types.h>
46

57
namespace vision {

torchvision/csrc/ops/interpolate_aa.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#include "interpolate_aa.h"
22

3+
#include <ATen/core/dispatch/Dispatcher.h>
4+
#include <torch/library.h>
35
#include <torch/types.h>
46

57
namespace vision {

torchvision/csrc/ops/nms.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#include "nms.h"
22

3+
#include <ATen/core/dispatch/Dispatcher.h>
4+
#include <torch/library.h>
35
#include <torch/types.h>
46

57
namespace vision {

torchvision/csrc/ops/ps_roi_align.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#include "ps_roi_align.h"
22

3+
#include <ATen/core/dispatch/Dispatcher.h>
4+
#include <torch/library.h>
35
#include <torch/types.h>
46

57
namespace vision {

torchvision/csrc/ops/ps_roi_pool.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#include "ps_roi_pool.h"
22

3+
#include <ATen/core/dispatch/Dispatcher.h>
4+
#include <torch/library.h>
35
#include <torch/types.h>
46

57
namespace vision {

torchvision/csrc/ops/roi_align.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#include "roi_align.h"
22

3+
#include <ATen/core/dispatch/Dispatcher.h>
4+
#include <torch/library.h>
35
#include <torch/types.h>
46

57
namespace vision {

torchvision/csrc/ops/roi_pool.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#include "roi_pool.h"
22

3+
#include <ATen/core/dispatch/Dispatcher.h>
4+
#include <torch/library.h>
35
#include <torch/types.h>
46

57
namespace vision {

0 commit comments

Comments
 (0)