NumpyTensor.copy¶
- NumpyTensor.copy()[source]¶
Return an identical (deep) copy of this tensor.
- Parameters:
- None
- Returns:
- copy
NumpyTensor
The deep copy
- copy
Examples
>>> space = odl.rn(3) >>> x = space.element([1, 2, 3]) >>> y = x.copy() >>> y == x True >>> y is x False