ClikaRT::ops::copy_into
function
copy_into()
Tensor& copy_into(
Tensor& out,
Tensor src,
StreamOrDevice target = {}
)
Write src into the caller-supplied out buffer (the destination-first spelling of the in-place copy; bind a persistent buffer once, write it every step with no allocation). Dtype conversion is interleaved with the write; a cross-device src is transferred first. Returns out.
Declared in ClikaRT/compute/ops.h, line 2018