Tensor<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.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.