mindspore.ops.get_vm_impl_fn

mindspore.ops.get_vm_impl_fn(prim)[source]

Gets the virtual implementation function by a primitive object or primitive name.

Parameters

prim (Union[Primitive, str]) – primitive object or name for operator register.

Note

This mechanism applied for debugging currently.

Returns

function, vm function