mx.symbol.mp_lamb_update_phase2
¶
Description¶
Mixed Precision version Phase II of lamb update it performs the following operations and updates grad.
Link to paper: https://arxiv.org/pdf/1904.00962.pdf
Usage¶
mx.symbol.mp_lamb_update_phase2(...)
Arguments¶
Argument |
Description |
---|---|
|
NDArray-or-Symbol. Weight |
|
NDArray-or-Symbol. Output of mp_lamb_update_phase 1 |
|
NDArray-or-Symbol r1 |
|
NDArray-or-Symbol r2 |
|
NDArray-or-Symbol. Weight32 |
|
float, required. Learning rate |
|
float, optional, default=-1. Lower limit of norm of weight. If lower_bound <= 0, Lower limit is not set |
|
float, optional, default=-1. Upper limit of norm of weight. If upper_bound <= 0, Upper limit is not set |
|
string, optional. Name of the resulting symbol. |
Value¶
out
The result mx.symbol
Link to Source Code: http://github.com/apache/incubator-mxnet/blob/1.6.0/src/operator/optimizer_op.cc#L1075