From 47c23ccb0a1ec57787b1d4430f7b44de09f7d66c Mon Sep 17 00:00:00 2001 From: QingshuChen Date: Wed, 15 Feb 2023 13:51:14 +0800 Subject: [PATCH] remove duplicated op in xpu2_op_list (#50450) --- paddle/phi/backends/xpu/xpu2_op_list.cc | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/paddle/phi/backends/xpu/xpu2_op_list.cc b/paddle/phi/backends/xpu/xpu2_op_list.cc index b780a25e33b..582148a165a 100644 --- a/paddle/phi/backends/xpu/xpu2_op_list.cc +++ b/paddle/phi/backends/xpu/xpu2_op_list.cc @@ -601,14 +601,6 @@ XPUOpMap& get_kl2_ops() { phi::DataType::INT8, phi::DataType::UINT8, phi::DataType::FLOAT32})}, - {"squeeze", - XPUKernelSet({phi::DataType::FLOAT64, - phi::DataType::INT64, - phi::DataType::INT32, - phi::DataType::BOOL, - phi::DataType::INT8, - phi::DataType::UINT8, - phi::DataType::FLOAT32})}, {"stack", XPUKernelSet({phi::DataType::FLOAT32, phi::DataType::INT64, @@ -699,15 +691,6 @@ XPUOpMap& get_kl2_ops() { phi::DataType::UINT8, phi::DataType::FLOAT16, phi::DataType::FLOAT32})}, - {"unsqueeze", - XPUKernelSet({phi::DataType::FLOAT64, - phi::DataType::INT64, - phi::DataType::INT32, - phi::DataType::BOOL, - phi::DataType::INT8, - phi::DataType::UINT8, - phi::DataType::FLOAT32, - phi::DataType::FLOAT16})}, {"warpctc_grad", XPUKernelSet({phi::DataType::FLOAT32})}, {"warpctc", XPUKernelSet({phi::DataType::FLOAT32})}, {"where_index", -- GitLab