ReadOnlyTensorSpan<T>.Implicit Operator
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.
Defines an implicit conversion of an array to a readonly tensor span.
public:
static operator System::Numerics::Tensors::ReadOnlyTensorSpan<T>(cli::array <T> ^ array);
public static implicit operator System.Numerics.Tensors.ReadOnlyTensorSpan<T>(T[]? array);
static member op_Implicit : 'T[] -> System.Numerics.Tensors.ReadOnlyTensorSpan<'T>
Public Shared Widening Operator CType (array As T()) As ReadOnlyTensorSpan(Of T)
Parameters
- array
- T[]
The array to convert to a readonly tensor span.
Returns
The readonly tensor span that corresponds to array.