Skip to content

Commit 1788138

Browse files
committed
Remove workaround for ops registration on windows
1 parent 9d5b0c1 commit 1788138

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/tracing/frcnn/test_frcnn_tracing.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33
#include <torchvision/vision.h>
44
#include <torchvision/ops/nms.h>
55

6-
#ifdef _WIN32
7-
// Windows only
8-
// This is necessary until operators are automatically registered on include
9-
static auto _nms = &vision::ops::nms;
10-
#endif
116

127
int main() {
138
torch::DeviceType device_type;

0 commit comments

Comments
 (0)