未验证 提交 c3f8ba9b 编写于 作者: W wangxiaoning 提交者: GitHub

fix (#51552)

上级 2876f6f8
......@@ -59,5 +59,6 @@ PD_REGISTER_KERNEL(index_select_grad,
phi::IndexSelectGradKernel,
float,
double,
phi::dtype::bfloat16,
int,
int64_t) {}
......@@ -350,7 +350,7 @@ def index_select(x, index, axis=0, name=None):
check_variable_and_dtype(
x,
'x',
['bfloat16', 'float16', 'float32', 'float64', 'int32', 'int64'],
['uint16', 'float16', 'float32', 'float64', 'int32', 'int64'],
'paddle.tensor.search.index_select',
)
check_variable_and_dtype(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册