共用方式為


TensorSpan<T>.Implicit 運算子

定義

多載

Implicit(T[] to TensorSpan<T>)
Implicit(TensorSpan<T> to ReadOnlyTensorSpan<T>)

TensorSpan<T> 轉換成 ReadOnlyTensorSpan<T>

Implicit(T[] to TensorSpan<T>)

來源:
TensorSpan.cs
來源:
TensorSpan.cs
public:
 static operator System::Numerics::Tensors::TensorSpan<T>(cli::array <T> ^ array);
public static implicit operator System.Numerics.Tensors.TensorSpan<T> (T[]? array);
static member op_Implicit : 'T[] -> System.Numerics.Tensors.TensorSpan<'T>
Public Shared Widening Operator CType (array As T()) As TensorSpan(Of T)

參數

array
T[]

傳回

適用於

Implicit(TensorSpan<T> to ReadOnlyTensorSpan<T>)

來源:
TensorSpan.cs
來源:
TensorSpan.cs
public:
 static operator System::Numerics::Tensors::ReadOnlyTensorSpan<T>(System::Numerics::Tensors::TensorSpan<T> span);
public static implicit operator System.Numerics.Tensors.ReadOnlyTensorSpan<T> (System.Numerics.Tensors.TensorSpan<T> span);
static member op_Implicit : System.Numerics.Tensors.TensorSpan<'T> -> System.Numerics.Tensors.ReadOnlyTensorSpan<'T>
Public Shared Widening Operator CType (span As TensorSpan(Of T)) As ReadOnlyTensorSpan(Of T)

參數

傳回

適用於