Sdílet prostřednictvím


IReadOnlyTensor<TSelf,T>.CopyTo(TensorSpan<T>) Method

Definition

Copies the tensor to the specified destination. The destination tensor must be equal to or larger than the source tensor.

public:
 void CopyTo(System::Numerics::Tensors::TensorSpan<T> destination);
public void CopyTo (scoped System.Numerics.Tensors.TensorSpan<T> destination);
abstract member CopyTo : System.Numerics.Tensors.TensorSpan<'T> -> unit
Public Sub CopyTo (destination As TensorSpan(Of T))

Parameters

destination
TensorSpan<T>

The destination span where the data should be copied to.

Applies to