mindspore.ops.Assign

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

等价于

ops.assign(variable, value)

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