@@ -8,6 +8,7 @@ paddle 目录下包含 tensor、device、framework 相关 API 以及某些高层
8
8
- :ref: `tensor 数学操作 <tensor_math >`
9
9
- :ref: `tensor 数学操作原位(inplace)版本 <tensor_math_inplace >`
10
10
- :ref: `tensor 逻辑操作 <tensor_logic >`
11
+ - :ref: `tensor 逻辑操作原位(inplace)版本 <tensor_logic_inplace >`
11
12
- :ref: `tensor 属性相关 <tensor_attribute >`
12
13
- :ref: `tensor 创建相关 <tensor_creation >`
13
14
- :ref: `tensor 元素查找相关 <tensor_search >`
@@ -178,6 +179,7 @@ tensor 数学操作
178
179
" :ref: `paddle.combinations <cn_api_paddle_combinations >` ", "对输入 Tensor 计算长度为 r 的情况下的所有组合"
179
180
" :ref: `paddle.select_scatter <cn_api_paddle_select_scatter >` ", "根据 axis 和 index(整数) 填充 value 值至输入 Tensor"
180
181
" :ref: `paddle.reduce_as <cn_api_paddle_reduce_as >` ", "对 x 在某些维度上求和,使其结果与 target 的 shape 一致"
182
+
181
183
.. _tensor_math_inplace :
182
184
183
185
tensor 数学操作原位(inplace)版本
@@ -204,7 +206,6 @@ tensor 数学操作原位(inplace)版本
204
206
" :ref: `paddle.cumprod_ <cn_api_paddle_cumprod _>` ", "Inplace 版本的 cumprod API,对输入 x 采用 Inplace 策略"
205
207
" :ref: `paddle.cumsum_ <cn_api_paddle_cumsum _>` ", "Inplace 版本的 cumsum API,对输入 x 采用 Inplace 策略"
206
208
" :ref: `paddle.divide_ <cn_api_paddle_divide _>` ", "Inplace 版本的 divide API,对输入 x 采用 Inplace 策略"
207
- " :ref: `paddle.equal_ <cn_api_paddle_equal _>` ", "Inplace 版本的 equal API,对输入 x 采用 Inplace 策略"
208
209
" :ref: `paddle.exp_ <cn_api_paddle_exp _>` ", "Inplace 版本的 exp API,对输入 x 采用 Inplace 策略"
209
210
" :ref: `paddle.expm1_ <cn_api_paddle_expm1 _>` ", "Inplace 版本的 expm1 API,对输入 x 采用 Inplace 策略"
210
211
" :ref: `paddle.flatten_ <cn_api_paddle_flatten _>` ", "Inplace 版本的 flatten API,对输入 x 采用 Inplace 策略"
@@ -250,6 +251,8 @@ tensor 数学操作原位(inplace)版本
250
251
" :ref: `paddle.normal_ <cn_api_paddle_normal _>` ", "Inplace 版本的 normal API,对输入 x 采用 Inplace 策略"
251
252
" :ref: `paddle.neg_ <cn_api_paddle_neg _>` ", "Inplace 版本的 neg API,对输入 x 采用 Inplace 策略"
252
253
" :ref: `paddle.nan_to_num_ <cn_api_paddle_nan_to_num _>` ", "Inplace 版本的 nan_to_num API,对输入 x 采用 Inplace 策略"
254
+ " :ref: `paddle.i0_ <cn_api_paddle_i0 _>` ", "Inplace 版本的 i0 API,对输入 x 采用 Inplace 策略"
255
+ " :ref: `paddle.lcm_ <cn_api_paddle_lcm _>` ", "Inplace 版本的 lcm API,对输入 x 采用 Inplace 策略"
253
256
254
257
255
258
@@ -272,6 +275,20 @@ tensor 逻辑操作
272
275
" :ref: `paddle.isneginf <cn_api_paddle_isneginf >` ", "返回输入 tensor 的每一个值是否为 -INF"
273
276
" :ref: `paddle.isreal <cn_api_paddle_isreal >` ", "返回输入 tensor 的每一个值是否为实数类型"
274
277
278
+ .. _tensor_logic_inplace :
279
+
280
+ tensor 逻辑操作原位(inplace)版本
281
+ ::::::::::::::::::::
282
+
283
+ .. csv-table ::
284
+ :header: "API 名称", "API 功能"
285
+ :widths: 10, 30
286
+
287
+ " :ref: `paddle.equal_ <cn_api_paddle_equal _>` ", "Inplace 版本的 equal API,对输入 x 采用 Inplace 策略"
288
+ " :ref: `paddle.greater_equal_ <cn_api_paddle_greater_equal _>` ", "Inplace 版本的 greater_equal API,对输入 x 采用 Inplace 策略"
289
+ " :ref: `paddle.greater_than_ <cn_api_paddle_greater_than _>` ", "Inplace 版本的 greater_than API,对输入 x 采用 Inplace 策略"
290
+
291
+
275
292
.. _tensor_attribute :
276
293
277
294
tensor 属性相关
0 commit comments