Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
43b6d4f8
P
Paddle
项目概览
PaddlePaddle
/
Paddle
大约 1 年 前同步成功
通知
2299
Star
20931
Fork
5422
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
43b6d4f8
编写于
5月 12, 2018
作者:
B
baiyf
提交者:
qingqing01
5月 12, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
put detection op together (#10595)
上级
2924c92a
变更
17
隐藏空白更改
内联
并排
Showing
17 changed file
with
42 addition
and
8 deletion
+42
-8
paddle/fluid/operators/CMakeLists.txt
paddle/fluid/operators/CMakeLists.txt
+5
-0
paddle/fluid/operators/detection/CMakeLists.txt
paddle/fluid/operators/detection/CMakeLists.txt
+29
-0
paddle/fluid/operators/detection/bipartite_match_op.cc
paddle/fluid/operators/detection/bipartite_match_op.cc
+0
-0
paddle/fluid/operators/detection/box_coder_op.cc
paddle/fluid/operators/detection/box_coder_op.cc
+1
-1
paddle/fluid/operators/detection/box_coder_op.cu
paddle/fluid/operators/detection/box_coder_op.cu
+1
-1
paddle/fluid/operators/detection/box_coder_op.h
paddle/fluid/operators/detection/box_coder_op.h
+0
-0
paddle/fluid/operators/detection/iou_similarity_op.cc
paddle/fluid/operators/detection/iou_similarity_op.cc
+1
-1
paddle/fluid/operators/detection/iou_similarity_op.cu
paddle/fluid/operators/detection/iou_similarity_op.cu
+1
-1
paddle/fluid/operators/detection/iou_similarity_op.h
paddle/fluid/operators/detection/iou_similarity_op.h
+0
-0
paddle/fluid/operators/detection/mine_hard_examples_op.cc
paddle/fluid/operators/detection/mine_hard_examples_op.cc
+0
-0
paddle/fluid/operators/detection/multiclass_nms_op.cc
paddle/fluid/operators/detection/multiclass_nms_op.cc
+0
-0
paddle/fluid/operators/detection/prior_box_op.cc
paddle/fluid/operators/detection/prior_box_op.cc
+1
-1
paddle/fluid/operators/detection/prior_box_op.cu
paddle/fluid/operators/detection/prior_box_op.cu
+1
-1
paddle/fluid/operators/detection/prior_box_op.h
paddle/fluid/operators/detection/prior_box_op.h
+0
-0
paddle/fluid/operators/detection/target_assign_op.cc
paddle/fluid/operators/detection/target_assign_op.cc
+1
-1
paddle/fluid/operators/detection/target_assign_op.cu
paddle/fluid/operators/detection/target_assign_op.cu
+1
-1
paddle/fluid/operators/detection/target_assign_op.h
paddle/fluid/operators/detection/target_assign_op.h
+0
-0
未找到文件。
paddle/fluid/operators/CMakeLists.txt
浏览文件 @
43b6d4f8
...
...
@@ -270,6 +270,11 @@ foreach(src ${READER_LIBRARY})
set
(
OP_LIBRARY
${
src
}
${
OP_LIBRARY
}
)
endforeach
()
add_subdirectory
(
detection
)
foreach
(
src
${
DETECTION_LIBRARY
}
)
set
(
OP_LIBRARY
${
src
}
${
OP_LIBRARY
}
)
endforeach
()
set
(
GLOB_OP_LIB
${
OP_LIBRARY
}
CACHE INTERNAL
"Global OP library"
)
cc_test
(
gather_test SRCS gather_test.cc DEPS tensor
)
...
...
paddle/fluid/operators/detection/CMakeLists.txt
0 → 100644
浏览文件 @
43b6d4f8
set
(
LOCAL_DETECTION_LIBS
)
function
(
detection_library TARGET_NAME
)
set
(
oneValueArgs
""
)
set
(
multiValueArgs SRCS DEPS
)
set
(
options
""
)
set
(
common_deps op_registry
)
set
(
pybind_flag 0
)
cmake_parse_arguments
(
detection_library
"
${
options
}
"
"
${
oneValueArgs
}
"
"
${
multiValueArgs
}
"
${
ARGN
}
)
op_library
(
${
TARGET_NAME
}
SRCS
${
detection_library_SRCS
}
DEPS
${
common_deps
}
${
detection_library_DEPS
}
)
set
(
LOCAL_DETECTION_LIBS
${
TARGET_NAME
}
${
LOCAL_DETECTION_LIBS
}
PARENT_SCOPE
)
endfunction
()
detection_library
(
bipartite_match_op SRCS bipartite_match_op.cc
)
detection_library
(
box_coder_op SRCS box_coder_op.cc box_coder_op.cu
)
detection_library
(
iou_similarity_op SRCS iou_similarity_op.cc
iou_similarity_op.cu
)
detection_library
(
mine_hard_examples_op SRCS mine_hard_examples_op.cc
)
detection_library
(
multiclass_nms_op SRCS multiclass_nms_op.cc
)
detection_library
(
prior_box_op SRCS prior_box_op.cc prior_box_op.cu
)
detection_library
(
target_assign_op SRCS target_assign_op.cc
target_assign_op.cu
)
# Export local libraries to parent
set
(
DETECTION_LIBRARY
${
LOCAL_DETECTION_LIBS
}
PARENT_SCOPE
)
paddle/fluid/operators/bipartite_match_op.cc
→
paddle/fluid/operators/
detection/
bipartite_match_op.cc
浏览文件 @
43b6d4f8
文件已移动
paddle/fluid/operators/box_coder_op.cc
→
paddle/fluid/operators/
detection/
box_coder_op.cc
浏览文件 @
43b6d4f8
...
...
@@ -9,7 +9,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */
#include "paddle/fluid/operators/box_coder_op.h"
#include "paddle/fluid/operators/
detection/
box_coder_op.h"
namespace
paddle
{
namespace
operators
{
...
...
paddle/fluid/operators/box_coder_op.cu
→
paddle/fluid/operators/
detection/
box_coder_op.cu
浏览文件 @
43b6d4f8
...
...
@@ -9,7 +9,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */
#include "paddle/fluid/operators/box_coder_op.h"
#include "paddle/fluid/operators/
detection/
box_coder_op.h"
#include "paddle/fluid/platform/cuda_primitives.h"
namespace
paddle
{
...
...
paddle/fluid/operators/box_coder_op.h
→
paddle/fluid/operators/
detection/
box_coder_op.h
浏览文件 @
43b6d4f8
文件已移动
paddle/fluid/operators/iou_similarity_op.cc
→
paddle/fluid/operators/
detection/
iou_similarity_op.cc
浏览文件 @
43b6d4f8
...
...
@@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */
#include "paddle/fluid/operators/iou_similarity_op.h"
#include "paddle/fluid/operators/
detection/
iou_similarity_op.h"
namespace
paddle
{
namespace
operators
{
...
...
paddle/fluid/operators/iou_similarity_op.cu
→
paddle/fluid/operators/
detection/
iou_similarity_op.cu
浏览文件 @
43b6d4f8
...
...
@@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */
#include "paddle/fluid/operators/iou_similarity_op.h"
#include "paddle/fluid/operators/
detection/
iou_similarity_op.h"
namespace
ops
=
paddle
::
operators
;
REGISTER_OP_CUDA_KERNEL
(
...
...
paddle/fluid/operators/iou_similarity_op.h
→
paddle/fluid/operators/
detection/
iou_similarity_op.h
浏览文件 @
43b6d4f8
文件已移动
paddle/fluid/operators/mine_hard_examples_op.cc
→
paddle/fluid/operators/
detection/
mine_hard_examples_op.cc
浏览文件 @
43b6d4f8
文件已移动
paddle/fluid/operators/multiclass_nms_op.cc
→
paddle/fluid/operators/
detection/
multiclass_nms_op.cc
浏览文件 @
43b6d4f8
文件已移动
paddle/fluid/operators/prior_box_op.cc
→
paddle/fluid/operators/
detection/
prior_box_op.cc
浏览文件 @
43b6d4f8
...
...
@@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */
#include "paddle/fluid/operators/prior_box_op.h"
#include "paddle/fluid/operators/
detection/
prior_box_op.h"
namespace
paddle
{
namespace
operators
{
...
...
paddle/fluid/operators/prior_box_op.cu
→
paddle/fluid/operators/
detection/
prior_box_op.cu
浏览文件 @
43b6d4f8
...
...
@@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */
#include "paddle/fluid/operators/prior_box_op.h"
#include "paddle/fluid/operators/
detection/
prior_box_op.h"
namespace
paddle
{
namespace
operators
{
...
...
paddle/fluid/operators/prior_box_op.h
→
paddle/fluid/operators/
detection/
prior_box_op.h
浏览文件 @
43b6d4f8
文件已移动
paddle/fluid/operators/target_assign_op.cc
→
paddle/fluid/operators/
detection/
target_assign_op.cc
浏览文件 @
43b6d4f8
...
...
@@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */
#include "paddle/fluid/operators/target_assign_op.h"
#include "paddle/fluid/operators/
detection/
target_assign_op.h"
namespace
paddle
{
namespace
operators
{
...
...
paddle/fluid/operators/target_assign_op.cu
→
paddle/fluid/operators/
detection/
target_assign_op.cu
浏览文件 @
43b6d4f8
...
...
@@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */
#include "paddle/fluid/operators/target_assign_op.h"
#include "paddle/fluid/operators/
detection/
target_assign_op.h"
namespace
paddle
{
namespace
operators
{
...
...
paddle/fluid/operators/target_assign_op.h
→
paddle/fluid/operators/
detection/
target_assign_op.h
浏览文件 @
43b6d4f8
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录