pub fn deep_clone(t: &Tensor) -> TensorExpand description
Return a clone of this tensor. The semantics of clone are like
torch.clone: it will copy the the underlying tensor storage.
ยงSafety
This function is guaranteed to produce a fresh (non-aliasing) tensor.