File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020返回
2121::::::::::
2222 - ``out `` (Tensor):返回累积最大值操作的结果,累积最大值结果类型和输入 x 相同。
23- - ``indices `` (Tensor):返回对应累积最大值操作的的索引结果 。
23+ - ``indices `` (Tensor):返回对应累积最大值操作的索引结果 。
2424
2525代码示例
2626::::::::::
Original file line number Diff line number Diff line change @@ -16,10 +16,11 @@ cummin
1616 - **axis ** (int,可选) - 指明需要累积最小值的维度。-1 代表最后一维。默认:None,将输入展开为一维变量再进行累积最小值计算。
1717 - **dtype ** (str|paddle.dtype|np.dtype,可选) - 输出 Indices 的数据类型,可以是 int32、int64,默认值为 int64。
1818 - **name ** (str,可选) - 具体用法请参见 :ref: `api_guide_Name ` ,一般无需设置,默认值为 None。
19+
1920返回
2021::::::::::
2122 - ``out `` (Tensor):返回累积最小值操作的结果,累积最小值结果类型和输入 x 相同。
22- - ``indices `` (Tensor):返回对应累积最小值操作的的索引结果 。
23+ - ``indices `` (Tensor):返回对应累积最小值操作的索引结果 。
2324
2425代码示例
2526::::::::::
Original file line number Diff line number Diff line change 2020:::::::::
2121 - **x ** (Tensor) - 输入的 `Tensor `。它的形状可以是一维或二维。其数据类型应为 float16、float32、float64、int32、int64、complex64、complex128。别名 ``input `` 。
2222 - **offset ** (int,可选) - 对角线偏移量。正值表示上对角线,0 表示主对角线,负值表示下对角线。默认值为 0。别名 ``diagonal `` 。
23- - **padding_value ** (int|float,可选) -使用此值来填充指定对角线以外的区域。仅在输入为一维 Tensor 时生效。默认值为 0。
23+ - **padding_value ** (int|float,可选) - 使用此值来填充指定对角线以外的区域。仅在输入为一维 Tensor 时生效。默认值为 0。
2424 - **name ** (str,可选) - 具体用法请参见 :ref: `api_guide_Name `,一般无需设置,默认值为 None。
2525
2626关键字参数
You can’t perform that action at this time.
0 commit comments