Tensor<T>.TryCopyTo(TensorSpan<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to copy the contents of this tensor into a destination tensor span and returns a value to indicate whether or not the operation succeeded.
public:
bool TryCopyTo(System::Numerics::Tensors::TensorSpan<T> % destination);
public bool TryCopyTo(scoped in System.Numerics.Tensors.TensorSpan<T> destination);
member this.TryCopyTo : TensorSpan -> bool
Public Function TryCopyTo (ByRef destination As TensorSpan(Of T)) As Boolean
Parameters
- destination
- TensorSpan<T>
The target of the copy operation.
Returns
true
if the copy operation succeeded; otherwise, false
.