Contents:
Examples:
Bilby
API:
copy_array()
Return a copy of the passed array. For torch tensors, this uses the clone method, for everything else we use copy.copy to perform a shallow copy.
torch
clone
copy.copy
The array to copy
The copied array