Share via


TensorSpan<T>.ITensor<TensorSpan<T>,T>.CreateFromShape Method

Definition

Overloads

ITensor<TensorSpan<T>,T>.CreateFromShape(ReadOnlySpan<IntPtr>, Boolean)

Source:
TensorSpan_1.cs
 static System::Numerics::Tensors::TensorSpan<T> System.Numerics.Tensors.ITensor<System.Numerics.Tensors.TensorSpan<T>,T>.CreateFromShape(ReadOnlySpan<IntPtr> lengths, bool pinned) = System::Numerics::Tensors::ITensor<System::Numerics::Tensors::TensorSpan<T>, T>::CreateFromShape;
static System.Numerics.Tensors.TensorSpan<T> ITensor<TensorSpan<T>,T>.CreateFromShape(scoped ReadOnlySpan<IntPtr> lengths, bool pinned);
static member System.Numerics.Tensors.ITensor<System.Numerics.Tensors.TensorSpan<T>,T>.CreateFromShape : ReadOnlySpan<nativeint> * bool -> System.Numerics.Tensors.TensorSpan<'T>
 Shared Function CreateFromShape (lengths As ReadOnlySpan(Of IntPtr), pinned As Boolean) As TensorSpan(Of T) Implements ITensor(Of TensorSpan(Of T), T).CreateFromShape

Parameters

lengths

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

pinned
Boolean

Returns

Implements

Applies to

ITensor<TensorSpan<T>,T>.CreateFromShape(ReadOnlySpan<IntPtr>, ReadOnlySpan<IntPtr>, Boolean)

Source:
TensorSpan_1.cs
 static System::Numerics::Tensors::TensorSpan<T> System.Numerics.Tensors.ITensor<System.Numerics.Tensors.TensorSpan<T>,T>.CreateFromShape(ReadOnlySpan<IntPtr> lengths, ReadOnlySpan<IntPtr> strides, bool pinned) = System::Numerics::Tensors::ITensor<System::Numerics::Tensors::TensorSpan<T>, T>::CreateFromShape;
static System.Numerics.Tensors.TensorSpan<T> ITensor<TensorSpan<T>,T>.CreateFromShape(scoped ReadOnlySpan<IntPtr> lengths, scoped ReadOnlySpan<IntPtr> strides, bool pinned);
static member System.Numerics.Tensors.ITensor<System.Numerics.Tensors.TensorSpan<T>,T>.CreateFromShape : ReadOnlySpan<nativeint> * ReadOnlySpan<nativeint> * bool -> System.Numerics.Tensors.TensorSpan<'T>
 Shared Function CreateFromShape (lengths As ReadOnlySpan(Of IntPtr), strides As ReadOnlySpan(Of IntPtr), pinned As Boolean) As TensorSpan(Of T) Implements ITensor(Of TensorSpan(Of T), T).CreateFromShape

Parameters

lengths

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

strides

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

pinned
Boolean

Returns

Implements

Applies to