未验证 提交 84d595fa 编写于 作者: M ming1753 提交者: GitHub

Strided slice fp16 (#44653)

上级 a6d05771
...@@ -28,6 +28,7 @@ PD_REGISTER_KERNEL(strided_slice_raw, ...@@ -28,6 +28,7 @@ PD_REGISTER_KERNEL(strided_slice_raw,
int64_t, int64_t,
float, float,
double, double,
phi::dtype::float16,
phi::dtype::complex<float>, phi::dtype::complex<float>,
phi::dtype::complex<double>) {} phi::dtype::complex<double>) {}
...@@ -40,5 +41,6 @@ PD_REGISTER_KERNEL(strided_slice_array, ...@@ -40,5 +41,6 @@ PD_REGISTER_KERNEL(strided_slice_array,
int64_t, int64_t,
float, float,
double, double,
phi::dtype::float16,
phi::dtype::complex<float>, phi::dtype::complex<float>,
phi::dtype::complex<double>) {} phi::dtype::complex<double>) {}
...@@ -55,6 +55,7 @@ PD_REGISTER_KERNEL(strided_slice, ...@@ -55,6 +55,7 @@ PD_REGISTER_KERNEL(strided_slice,
int64_t, int64_t,
float, float,
double, double,
phi::dtype::float16,
phi::dtype::complex<float>, phi::dtype::complex<float>,
phi::dtype::complex<double>) {} phi::dtype::complex<double>) {}
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册