Skip to content

Commit 0c9f09b

Browse files
authored
Migrate old C++ unit tests to Python framework (#47006)
* softplus+activation * fc + elementwise_add test refactored * rename MKLDNN to OneDNN * fc+activation tests refactored * remove softplus ut * whitespace * whitespace * codestyle * codestyle * add more cases to fc+act * remove softplus+hard_sigmoid pass * remove softplus + hard_sigmoid UT * add approximate for gelu * swish beta range * new codestyle * reduce number of tests
1 parent dc85b39 commit 0c9f09b

10 files changed

+174
-1015
lines changed

paddle/fluid/framework/ir/CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -399,13 +399,6 @@ if(WITH_MKLDNN)
399399
test_params_quantization_mkldnn_pass SRCS
400400
mkldnn/params_quantization_mkldnn_pass_tester.cc DEPS
401401
params_quantization_mkldnn_pass)
402-
cc_test_old(
403-
test_fc_elementwise_add_mkldnn_fuse_pass SRCS
404-
mkldnn/fc_elementwise_add_mkldnn_fuse_pass_tester.cc DEPS
405-
fc_elementwise_add_mkldnn_fuse_pass pass_test_util)
406-
cc_test_old(
407-
test_fc_act_mkldnn_fuse_pass SRCS mkldnn/fc_act_mkldnn_fuse_pass_tester.cc
408-
DEPS fc_act_mkldnn_fuse_pass pass_test_util)
409402
cc_test_old(
410403
test_batch_norm_act_fuse_pass SRCS
411404
mkldnn/batch_norm_act_fuse_pass_tester.cc DEPS batch_norm_act_fuse_pass

paddle/fluid/framework/ir/mkldnn/fc_act_mkldnn_fuse_pass_tester.cc

Lines changed: 0 additions & 300 deletions
This file was deleted.

0 commit comments

Comments
 (0)