megengine.Tensor.detach

Tensor.detach()[source]

Returns a new Tensor, detached from the current graph.