TensorSpan<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 TensorSpan<T>) | |
Implicit(TensorSpan<T> to ReadOnlyTensorSpan<T>) |
Converts a TensorSpan<T> to a ReadOnlyTensorSpan<T>. |
Implicit(T[] to TensorSpan<T>)
- Source:
- 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)
Parameters
- array
- T[]
Returns
Applies to
Implicit(TensorSpan<T> to ReadOnlyTensorSpan<T>)
- Source:
- TensorSpan.cs
Converts a TensorSpan<T> to a 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)
Parameters
- span
- TensorSpan<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.