未验证 提交 dc00bd67 编写于 作者: Y yinhaofeng 提交者: GitHub

delate some wrong message test=develop, test=document_fix (#26595)

* delate some wrong message test=develop, test=document_fix

* delate some wrong message
上级 1b102dd5
...@@ -10850,8 +10850,7 @@ def slice(input, axes, starts, ends): ...@@ -10850,8 +10850,7 @@ def slice(input, axes, starts, ends):
result = [ [2, 3, 4], ] # result = data[0:1, 1:4] result = [ [2, 3, 4], ] # result = data[0:1, 1:4]
Args: Args:
input (Variable): A ``Tensor`` or ``LoDTensor`` . The data type is ``float16``, ``float32``, ``float64``, ``int32`` or ``int64``. input (Variable): A ``Tensor`` or ``LoDTensor`` . The data type is ``float16``, ``float32``, ``float64``, ``int32`` or ``int64``.
axes (list|tuple): The data type is ``int32`` . Axes that `starts` and `ends` apply to. axes (list|tuple): The data type is ``int32`` . Axes that `starts` and `ends` apply to .
It's optional. If it is not provides, it will be treated as :math:`[0,1,...,len(starts)-1]`.
starts (list|tuple|Variable): The data type is ``int32`` . If ``starts`` is a list or tuple, the elements of starts (list|tuple|Variable): The data type is ``int32`` . If ``starts`` is a list or tuple, the elements of
it should be integers or Tensors with shape [1]. If ``starts`` is an Variable, it should be an 1-D Tensor. it should be integers or Tensors with shape [1]. If ``starts`` is an Variable, it should be an 1-D Tensor.
It represents starting indices of corresponding axis in ``axes``. It represents starting indices of corresponding axis in ``axes``.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册