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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.