提交 c0bcbd37 编写于 作者: P phlrain

remove useless code

上级 8a108f59
...@@ -84,6 +84,4 @@ PD_REGISTER_KERNEL(put_along_axis, ...@@ -84,6 +84,4 @@ PD_REGISTER_KERNEL(put_along_axis,
double, double,
int, int,
uint8_t, uint8_t,
int64_t) { int64_t) {}
kernel->InputAt(1).SetDataType(phi::DataType::ALL_DTYPE);
}
...@@ -57,6 +57,4 @@ PD_REGISTER_KERNEL(take_along_axis, ...@@ -57,6 +57,4 @@ PD_REGISTER_KERNEL(take_along_axis,
double, double,
int, int,
uint8_t, uint8_t,
int64_t) { int64_t) {}
kernel->InputAt(1).SetDataType(phi::DataType::ALL_DTYPE);
}
...@@ -83,6 +83,4 @@ PD_REGISTER_KERNEL(put_along_axis, ...@@ -83,6 +83,4 @@ PD_REGISTER_KERNEL(put_along_axis,
double, double,
int64_t, int64_t,
int, int,
phi::dtype::float16) { phi::dtype::float16) {}
kernel->InputAt(1).SetDataType(phi::DataType::ALL_DTYPE);
}
...@@ -57,6 +57,4 @@ PD_REGISTER_KERNEL(take_along_axis, ...@@ -57,6 +57,4 @@ PD_REGISTER_KERNEL(take_along_axis,
double, double,
int64_t, int64_t,
int, int,
phi::dtype::float16) { phi::dtype::float16) {}
kernel->InputAt(1).SetDataType(phi::DataType::ALL_DTYPE);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册