prim = ops.Add() out = prim(input, other)
等价于
ops.add(input, other)
更多详情请查看: mindspore.ops.add() 。
mindspore.ops.add()