แชร์ผ่าน


Tensor<T>.Implicit Operator

Definition

Overloads

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

Implicit(T[] to Tensor<T>)

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

Parameters

array
T[]

Returns

Applies to

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

Source:
Tensor.cs
Source:
Tensor.cs
public:
 static operator System::Numerics::Tensors::ReadOnlyTensorSpan<T>(System::Numerics::Tensors::Tensor<T> ^ value);
public static implicit operator System.Numerics.Tensors.ReadOnlyTensorSpan<T> (System.Numerics.Tensors.Tensor<T> value);
static member op_Implicit : System.Numerics.Tensors.Tensor<'T> -> System.Numerics.Tensors.ReadOnlyTensorSpan<'T>
Public Shared Widening Operator CType (value As Tensor(Of T)) As ReadOnlyTensorSpan(Of T)

Parameters

value
Tensor<T>

Returns

Applies to

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

Source:
Tensor.cs
Source:
Tensor.cs
public:
 static operator System::Numerics::Tensors::TensorSpan<T>(System::Numerics::Tensors::Tensor<T> ^ value);
public static implicit operator System.Numerics.Tensors.TensorSpan<T> (System.Numerics.Tensors.Tensor<T> value);
static member op_Implicit : System.Numerics.Tensors.Tensor<'T> -> System.Numerics.Tensors.TensorSpan<'T>
Public Shared Widening Operator CType (value As Tensor(Of T)) As TensorSpan(Of T)

Parameters

value
Tensor<T>

Returns

Applies to