mindspore.ops.Assign

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

is equivalent to

ops.assign(variable, value)

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