ncdl.LatticeTensor.clone

LatticeTensor.clone() LatticeTensor

Analog of tensor.clone(), returns a new LatticeTensor copy that is still part of the computational graph.

Returns:

Cloned lattice tensor.