mindspore.ops.AssignAdd

class mindspore.ops.AssignAdd[源代码]
prim = ops.AssignAdd()
out = prim(variable, value)

等价于

ops.assign_add(variable, value)

更多详情请查看: mindspore.ops.assign_add()