mindspore.ops.AssignAdd

class mindspore.ops.AssignAdd[source]
prim = ops.AssignAdd()
out = prim(variable, value)

is equivalent to

ops.assign_add(variable, value)

Refer to mindspore.ops.assign_add() for more details.