Skip to content

Commit

Permalink
【Hackathon 6th Fundable Projects 3 No.195】Remove fluid operator iou_s…
Browse files Browse the repository at this point in the history
…imilarity (#63248)
  • Loading branch information
co63oc authored Apr 15, 2024
1 parent 2db1564 commit 0682d0d
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 579 deletions.
8 changes: 0 additions & 8 deletions paddle/fluid/operators/detection/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,6 @@ endfunction()
detection_library(density_prior_box_op SRCS density_prior_box_op.cc
density_prior_box_op.cu)

if(WITH_XPU)
detection_library(iou_similarity_op SRCS iou_similarity_op.cc
iou_similarity_op_xpu.cc)
else()
detection_library(iou_similarity_op SRCS iou_similarity_op.cc
iou_similarity_op.cu)
endif()

detection_library(bipartite_match_op SRCS bipartite_match_op.cc)
detection_library(anchor_generator_op SRCS anchor_generator_op.cc
anchor_generator_op.cu)
Expand Down
118 changes: 0 additions & 118 deletions paddle/fluid/operators/detection/iou_similarity_op.cc

This file was deleted.

19 changes: 0 additions & 19 deletions paddle/fluid/operators/detection/iou_similarity_op.cu

This file was deleted.

134 changes: 0 additions & 134 deletions paddle/fluid/operators/detection/iou_similarity_op.h

This file was deleted.

63 changes: 0 additions & 63 deletions paddle/fluid/operators/detection/iou_similarity_op_xpu.cc

This file was deleted.

1 change: 0 additions & 1 deletion paddle/phi/backends/xpu/xpu1_op_list.cc
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ XPUOpMap& get_kl1_ops() {
XPUKernelSet({phi::DataType::FLOAT32,
phi::DataType::INT32,
phi::DataType::INT64})},
{"iou_similarity", XPUKernelSet({phi::DataType::FLOAT32})},
{"lamb", XPUKernelSet({phi::DataType::FLOAT32})},
{"layer_norm_grad", XPUKernelSet({phi::DataType::FLOAT32})},
{"layer_norm", XPUKernelSet({phi::DataType::FLOAT32})},
Expand Down
1 change: 0 additions & 1 deletion paddle/phi/backends/xpu/xpu2_op_list.cc
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,6 @@ XPUOpMap& get_kl2_ops() {
{"instance_norm_grad", XPUKernelSet({phi::DataType::FLOAT32})},
{"inverse",
XPUKernelSet({phi::DataType::FLOAT32, phi::DataType::FLOAT64})},
{"iou_similarity", XPUKernelSet({phi::DataType::FLOAT32})},
{"label_smooth", XPUKernelSet({phi::DataType::FLOAT32})},
{"lamb", XPUKernelSet({phi::DataType::FLOAT32, phi::DataType::FLOAT16})},
{"lars_momentum",
Expand Down
Loading

0 comments on commit 0682d0d

Please sign in to comment.