Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
ce342580
"vscode:/vscode.git/clone" did not exist on "788ad12e5dcec1dffc7d6311e59a2be2792799b8"
Unverified
Commit
ce342580
authored
Dec 09, 2020
by
Vasilis Vryniotis
Committed by
GitHub
Dec 09, 2020
Browse files
Removed all backward methods from header files. (#3143)
parent
3c33f367
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
80 deletions
+0
-80
torchvision/csrc/deform_conv2d.h
torchvision/csrc/deform_conv2d.h
+0
-21
torchvision/csrc/nms.h
torchvision/csrc/nms.h
+0
-1
torchvision/csrc/ps_roi_align.h
torchvision/csrc/ps_roi_align.h
+0
-15
torchvision/csrc/ps_roi_pool.h
torchvision/csrc/ps_roi_pool.h
+0
-14
torchvision/csrc/roi_align.h
torchvision/csrc/roi_align.h
+0
-15
torchvision/csrc/roi_pool.h
torchvision/csrc/roi_pool.h
+0
-14
No files found.
torchvision/csrc/deform_conv2d.h
View file @
ce342580
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
namespace
vision
{
namespace
vision
{
namespace
ops
{
namespace
ops
{
// C++ Forward
VISION_API
at
::
Tensor
deform_conv2d
(
VISION_API
at
::
Tensor
deform_conv2d
(
const
at
::
Tensor
&
input
,
const
at
::
Tensor
&
input
,
const
at
::
Tensor
&
weight
,
const
at
::
Tensor
&
weight
,
...
@@ -23,25 +22,5 @@ VISION_API at::Tensor deform_conv2d(
...
@@ -23,25 +22,5 @@ VISION_API at::Tensor deform_conv2d(
int64_t
offset_groups
,
int64_t
offset_groups
,
bool
use_mask
);
bool
use_mask
);
// C++ Backward
VISION_API
std
::
tuple
<
at
::
Tensor
,
at
::
Tensor
,
at
::
Tensor
,
at
::
Tensor
,
at
::
Tensor
>
_deform_conv2d_backward
(
const
at
::
Tensor
&
grad
,
const
at
::
Tensor
&
input
,
const
at
::
Tensor
&
weight
,
const
at
::
Tensor
&
offset
,
const
at
::
Tensor
&
mask
,
const
at
::
Tensor
&
bias
,
int64_t
stride_h
,
int64_t
stride_w
,
int64_t
pad_h
,
int64_t
pad_w
,
int64_t
dilation_h
,
int64_t
dilation_w
,
int64_t
groups
,
int64_t
offset_groups
,
bool
use_mask
);
}
// namespace ops
}
// namespace ops
}
// namespace vision
}
// namespace vision
torchvision/csrc/nms.h
View file @
ce342580
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
namespace
vision
{
namespace
vision
{
namespace
ops
{
namespace
ops
{
// C++ Forward
VISION_API
at
::
Tensor
nms
(
VISION_API
at
::
Tensor
nms
(
const
at
::
Tensor
&
dets
,
const
at
::
Tensor
&
dets
,
const
at
::
Tensor
&
scores
,
const
at
::
Tensor
&
scores
,
...
...
torchvision/csrc/ps_roi_align.h
View file @
ce342580
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
namespace
vision
{
namespace
vision
{
namespace
ops
{
namespace
ops
{
// C++ Forward
VISION_API
std
::
tuple
<
at
::
Tensor
,
at
::
Tensor
>
ps_roi_align
(
VISION_API
std
::
tuple
<
at
::
Tensor
,
at
::
Tensor
>
ps_roi_align
(
const
at
::
Tensor
&
input
,
const
at
::
Tensor
&
input
,
const
at
::
Tensor
&
rois
,
const
at
::
Tensor
&
rois
,
...
@@ -15,19 +14,5 @@ VISION_API std::tuple<at::Tensor, at::Tensor> ps_roi_align(
...
@@ -15,19 +14,5 @@ VISION_API std::tuple<at::Tensor, at::Tensor> ps_roi_align(
int64_t
pooled_width
,
int64_t
pooled_width
,
int64_t
sampling_ratio
);
int64_t
sampling_ratio
);
// C++ Backward
VISION_API
at
::
Tensor
_ps_roi_align_backward
(
const
at
::
Tensor
&
grad
,
const
at
::
Tensor
&
rois
,
const
at
::
Tensor
&
channel_mapping
,
double
spatial_scale
,
int64_t
pooled_height
,
int64_t
pooled_width
,
int64_t
sampling_ratio
,
int64_t
batch_size
,
int64_t
channels
,
int64_t
height
,
int64_t
width
);
}
// namespace ops
}
// namespace ops
}
// namespace vision
}
// namespace vision
torchvision/csrc/ps_roi_pool.h
View file @
ce342580
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
namespace
vision
{
namespace
vision
{
namespace
ops
{
namespace
ops
{
// C++ Forward
VISION_API
std
::
tuple
<
at
::
Tensor
,
at
::
Tensor
>
ps_roi_pool
(
VISION_API
std
::
tuple
<
at
::
Tensor
,
at
::
Tensor
>
ps_roi_pool
(
const
at
::
Tensor
&
input
,
const
at
::
Tensor
&
input
,
const
at
::
Tensor
&
rois
,
const
at
::
Tensor
&
rois
,
...
@@ -14,18 +13,5 @@ VISION_API std::tuple<at::Tensor, at::Tensor> ps_roi_pool(
...
@@ -14,18 +13,5 @@ VISION_API std::tuple<at::Tensor, at::Tensor> ps_roi_pool(
int64_t
pooled_height
,
int64_t
pooled_height
,
int64_t
pooled_width
);
int64_t
pooled_width
);
// C++ Backward
VISION_API
at
::
Tensor
_ps_roi_pool_backward
(
const
at
::
Tensor
&
grad
,
const
at
::
Tensor
&
rois
,
const
at
::
Tensor
&
channel_mapping
,
double
spatial_scale
,
int64_t
pooled_height
,
int64_t
pooled_width
,
int64_t
batch_size
,
int64_t
channels
,
int64_t
height
,
int64_t
width
);
}
// namespace ops
}
// namespace ops
}
// namespace vision
}
// namespace vision
torchvision/csrc/roi_align.h
View file @
ce342580
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
namespace
vision
{
namespace
vision
{
namespace
ops
{
namespace
ops
{
// C++ Forward
VISION_API
at
::
Tensor
roi_align
(
VISION_API
at
::
Tensor
roi_align
(
const
at
::
Tensor
&
input
,
const
at
::
Tensor
&
input
,
const
at
::
Tensor
&
rois
,
const
at
::
Tensor
&
rois
,
...
@@ -16,19 +15,5 @@ VISION_API at::Tensor roi_align(
...
@@ -16,19 +15,5 @@ VISION_API at::Tensor roi_align(
int64_t
sampling_ratio
,
int64_t
sampling_ratio
,
bool
aligned
);
bool
aligned
);
// C++ Backward
VISION_API
at
::
Tensor
_roi_align_backward
(
const
at
::
Tensor
&
grad
,
const
at
::
Tensor
&
rois
,
double
spatial_scale
,
int64_t
pooled_height
,
int64_t
pooled_width
,
int64_t
batch_size
,
int64_t
channels
,
int64_t
height
,
int64_t
width
,
int64_t
sampling_ratio
,
bool
aligned
);
}
// namespace ops
}
// namespace ops
}
// namespace vision
}
// namespace vision
torchvision/csrc/roi_pool.h
View file @
ce342580
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
namespace
vision
{
namespace
vision
{
namespace
ops
{
namespace
ops
{
// C++ Forward
VISION_API
std
::
tuple
<
at
::
Tensor
,
at
::
Tensor
>
roi_pool
(
VISION_API
std
::
tuple
<
at
::
Tensor
,
at
::
Tensor
>
roi_pool
(
const
at
::
Tensor
&
input
,
const
at
::
Tensor
&
input
,
const
at
::
Tensor
&
rois
,
const
at
::
Tensor
&
rois
,
...
@@ -14,18 +13,5 @@ VISION_API std::tuple<at::Tensor, at::Tensor> roi_pool(
...
@@ -14,18 +13,5 @@ VISION_API std::tuple<at::Tensor, at::Tensor> roi_pool(
int64_t
pooled_height
,
int64_t
pooled_height
,
int64_t
pooled_width
);
int64_t
pooled_width
);
// C++ Backward
VISION_API
at
::
Tensor
_roi_pool_backward
(
const
at
::
Tensor
&
grad
,
const
at
::
Tensor
&
rois
,
const
at
::
Tensor
&
argmax
,
double
spatial_scale
,
int64_t
pooled_height
,
int64_t
pooled_width
,
int64_t
batch_size
,
int64_t
channels
,
int64_t
height
,
int64_t
width
);
}
// namespace ops
}
// namespace ops
}
// namespace vision
}
// namespace vision
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment