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

support fp16 index_select (#50101)

上级 ce4637c1
...@@ -326,7 +326,7 @@ def index_select(x, index, axis=0, name=None): ...@@ -326,7 +326,7 @@ def index_select(x, index, axis=0, name=None):
check_variable_and_dtype( check_variable_and_dtype(
x, x,
'x', 'x',
['float32', 'float64', 'int32', 'int64'], ['float16', 'float32', 'float64', 'int32', 'int64'],
'paddle.tensor.search.index_select', 'paddle.tensor.search.index_select',
) )
check_variable_and_dtype( check_variable_and_dtype(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册