megengine.Parameter.detach

Parameter.detach()

Returns a new Tensor, detached from the current graph.