次の方法で共有


TensorSpan<T>.Implicit Operator

定義

オーバーロード

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

TensorSpan<T>ReadOnlyTensorSpan<T>に変換します。

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)

パラメーター

戻り値

適用対象