未验证 提交 1485fc58 编写于 作者: H HarikrishnanBalagopal 提交者: GitHub

Change "Do whatever you need" to "Process"

上级 31eb0e01
......@@ -139,7 +139,7 @@ class OptimizerV2(trackable.Trackable):
vars = <list_of_variables>
grads = tape.gradient(loss, vars)
# Do whatever you need to the gradients, for example cap them, etc.
# Process the gradients, for example cap them, etc.
# capped_grads = [MyCapper(g) for g in grads]
processed_grads = [process_gradient(g) for g in grads]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册