mindspore.ops.Trace

class mindspore.ops.Trace[source]
prim = ops.Trace()
out = prim(input)

is equivalent to

ops.trace(input)

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