未验证 提交 53f5edbd 编写于 作者: H houj04 提交者: GitHub

[XPU] register bmm fp16 (#52354)

上级 40e4f5a5
...@@ -59,8 +59,9 @@ XPUOpMap& get_kl2_ops() { ...@@ -59,8 +59,9 @@ XPUOpMap& get_kl2_ops() {
XPUKernelSet({phi::DataType::FLOAT32, phi::DataType::FLOAT16})}, XPUKernelSet({phi::DataType::FLOAT32, phi::DataType::FLOAT16})},
{"batch_norm_grad", XPUKernelSet({phi::DataType::FLOAT32})}, {"batch_norm_grad", XPUKernelSet({phi::DataType::FLOAT32})},
{"batch_norm", XPUKernelSet({phi::DataType::FLOAT32})}, {"batch_norm", XPUKernelSet({phi::DataType::FLOAT32})},
{"bmm", XPUKernelSet({phi::DataType::FLOAT32})}, {"bmm", XPUKernelSet({phi::DataType::FLOAT32, phi::DataType::FLOAT16})},
{"bmm_grad", XPUKernelSet({phi::DataType::FLOAT32})}, {"bmm_grad",
XPUKernelSet({phi::DataType::FLOAT32, phi::DataType::FLOAT16})},
{"bce_loss_grad", XPUKernelSet({phi::DataType::FLOAT32})}, {"bce_loss_grad", XPUKernelSet({phi::DataType::FLOAT32})},
{"bce_loss", XPUKernelSet({phi::DataType::FLOAT32})}, {"bce_loss", XPUKernelSet({phi::DataType::FLOAT32})},
{"beam_search", {"beam_search",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册