//clika-runtime/io.clika.runtime/Ops/copy
copy
[common]
fun copy(src: Tensor, target: Placement? = null, forceCopy: Boolean = true): Tensor
copy(src: Tensor, target: Placement? = null, forceCopy: Boolean = true): the copy operator. Copies a tensor, optionally to another device or stream. With the default force_copy = true the result always owns fresh storage; with force_copy = false a same-device copy may pass the input through. target absent = src's own stream.