Commit 0ebbb0a
authored
Encapsulate and Standardise C++ Ops (pytorch#3097)
* Encapsulate and standardize deform_conv2d (pytorch#3074)
* Rename files.
* Standardizing method names.
* Adding anonymous namespaces.
* Applying C++ naming rules and alinging variable names across headers and cpp files.
* Syncing names across implementations.
* Rename deform_conv2d.h to deform_conv2d.cpp
* Use header files:
- Create header files for kernel implementation and remove definitions from vision_*.h files.
- Eliminate unnecessary headers and ensure all cpp include their headers.
* Change the naming convention for kernel implementations.
* Remove the _param postfix from the variables and standardizing names.
* Exposing public forward/backward methods to the C++ API and moving methods around to minimize git blame changes.
* Encapsulate and standardize nms (pytorch#3081)
* Syncing, where possible, the names of functions across devices.
* Adding all internal functions in anonymous namespaces.
* Renaming C++/CUDA kernel files and moving operator code from header to cpp file.
* Create foreach cpp file a separate header file with "public" functions.
* Removing unnecessary repeated includes.
* Update CMakeLists.txt to include all headers.
* Encapsulate and standardize ps_roi_align (pytorch#3082)
* Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API.
Syncing, where possible, the names of functions across devices.
* Adding all internal functions in anonymous namespaces.
* Renaming C++/CUDA kernel files and moving operator code from header to cpp file.
* Create foreach cpp file a separate header file with "public" functions.
* Removing unnecessary repeated includes.
* Encapsulate and standardize ps_roi_pool (pytorch#3084)
* Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API.
* Adding all internal functions in anonymous namespaces.
* Renaming C++/CUDA kernel files and moving operator code from header to cpp file.
* Create foreach cpp file a separate header file with "public" functions.
* Removing unnecessary repeated includes.
* Encapsulate and standardize roi_align (pytorch#3085)
* Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API.
* Adding all internal functions in anonymous namespaces.
* Renaming C++/CUDA kernel files and moving operator code from header to cpp file.
* Create foreach cpp file a separate header file with "public" functions.
* Removing unnecessary repeated includes.
* Encapsulate and standardize roi_pool (pytorch#3088)
* Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API.
* Adding all internal functions in anonymous namespaces.
* Syncing variable names between the cpp files and their header files.
* Renaming C++/CUDA kernel files and moving operator code from header to cpp file.
* Create foreach cpp file a separate header file with "public" functions.
* Removing unnecessary repeated includes.
* Encapsulate and standardize new_empty_tensor_op (pytorch#3089)
* Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API.
* Create foreach cpp file a separate header file with "public" functions.
* Adding all internal functions in anonymous namespaces.
* Convert to const ref all possible parameters.
* Removing unnecessary repeated includes.
* Encapsulate and standardize C++ Ops - Clean up (pytorch#3094)
* Removing unnecessary repeated includes.
* Remove unnecessary vision_cpu.h, vision_cuda.h, autocast.h.
* Fixing naming convention and correcting method names on macros.
* Turn on clang formatter for cu files and fixing broken styles.
* Replace "#ifndef ... #define ... #endif" with "#pragma once" on header files.
* Adding operator methods in vision::ops namespace. (pytorch#3096)
* Adding operator methods in vision::ops namespace.
* Replace general.h with macros.h
* Adding vision.h to the necessary cpp files.1 parent 8520f0b commit 0ebbb0a
63 files changed
Lines changed: 1885 additions & 1264 deletions
File tree
- test/tracing/frcnn
- torchvision/csrc
- cpu
- video
- cuda
- models
- travis-scripts/run-clang-format
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
98 | | - | |
| 100 | + | |
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
102 | | - | |
| 104 | + | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | | - | |
| 155 | + | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | | - | |
| 10 | + | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
This file was deleted.
0 commit comments