未验证 提交 47c23ccb 编写于 作者: Q QingshuChen 提交者: GitHub

remove duplicated op in xpu2_op_list (#50450)

上级 53df50c7
...@@ -601,14 +601,6 @@ XPUOpMap& get_kl2_ops() { ...@@ -601,14 +601,6 @@ XPUOpMap& get_kl2_ops() {
phi::DataType::INT8, phi::DataType::INT8,
phi::DataType::UINT8, phi::DataType::UINT8,
phi::DataType::FLOAT32})}, 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", {"stack",
XPUKernelSet({phi::DataType::FLOAT32, XPUKernelSet({phi::DataType::FLOAT32,
phi::DataType::INT64, phi::DataType::INT64,
...@@ -699,15 +691,6 @@ XPUOpMap& get_kl2_ops() { ...@@ -699,15 +691,6 @@ XPUOpMap& get_kl2_ops() {
phi::DataType::UINT8, phi::DataType::UINT8,
phi::DataType::FLOAT16, phi::DataType::FLOAT16,
phi::DataType::FLOAT32})}, 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_grad", XPUKernelSet({phi::DataType::FLOAT32})},
{"warpctc", XPUKernelSet({phi::DataType::FLOAT32})}, {"warpctc", XPUKernelSet({phi::DataType::FLOAT32})},
{"where_index", {"where_index",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册