update apply_proximal_gradient_descent docs
This commit is contained in:
parent
649ae3f83c
commit
d66c29b13e
|
@ -22,7 +22,7 @@ mindspore.ops.ApplyProximalGradientDescent
|
|||
- **alpha** (Union[Number, Tensor]) - 比例系数,必须为标量。数据类型为float16或float32。
|
||||
- **l1** (Union[Number, Tensor]) - l1正则化强度,必须为标量。数据类型为float16或float32。
|
||||
- **l2** (Union[Number, Tensor]) - l2正则化强度,必须为标量。数据类型为float16或float32。
|
||||
- **delta** (Tensor) - 梯度Tensor,shape和数据类型与 `var` 相同。
|
||||
- **delta** (Tensor) - 梯度Tensor。
|
||||
|
||||
输出:
|
||||
Tensor,更新后的 `var` 。
|
||||
|
|
|
@ -6655,7 +6655,7 @@ class ApplyProximalGradientDescent(Primitive):
|
|||
With float32 or float16 data type.
|
||||
- **l2** (Union[Number, Tensor]) - l2 regularization strength, must be a scalar.
|
||||
With float32 or float16 data type.
|
||||
- **delta** (Tensor) - A tensor for the change, has the same shape and data type as `var`.
|
||||
- **delta** (Tensor) - A tensor for the change.
|
||||
|
||||
Outputs:
|
||||
Tensor, represents the updated `var`.
|
||||
|
|
Loading…
Reference in New Issue