Edytuj

Udostępnij za pośrednictwem


Tensor.Unsqueeze Method

Definition

Overloads

Unsqueeze<T>(ReadOnlyTensorSpan<T>, Int32)
Unsqueeze<T>(Tensor<T>, Int32)
Unsqueeze<T>(TensorSpan<T>, Int32)

Unsqueeze<T>(ReadOnlyTensorSpan<T>, Int32)

Source:
TensorExtensions.cs
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::Numerics::Tensors::ReadOnlyTensorSpan<T> Unsqueeze(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % input, int axis);
public static System.Numerics.Tensors.ReadOnlyTensorSpan<T> Unsqueeze<T> (this in System.Numerics.Tensors.ReadOnlyTensorSpan<T> input, int axis);
static member Unsqueeze : ReadOnlyTensorSpan * int -> System.Numerics.Tensors.ReadOnlyTensorSpan<'T>
<Extension()>
Public Function Unsqueeze(Of T) (ByRef input As ReadOnlyTensorSpan(Of T), axis As Integer) As ReadOnlyTensorSpan(Of T)

Type Parameters

T

Parameters

axis
Int32

Returns

Applies to

Unsqueeze<T>(Tensor<T>, Int32)

Source:
TensorExtensions.cs
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::Numerics::Tensors::Tensor<T> ^ Unsqueeze(System::Numerics::Tensors::Tensor<T> ^ input, int axis);
public static System.Numerics.Tensors.Tensor<T> Unsqueeze<T> (this System.Numerics.Tensors.Tensor<T> input, int axis);
static member Unsqueeze : System.Numerics.Tensors.Tensor<'T> * int -> System.Numerics.Tensors.Tensor<'T>
<Extension()>
Public Function Unsqueeze(Of T) (input As Tensor(Of T), axis As Integer) As Tensor(Of T)

Type Parameters

T

Parameters

input
Tensor<T>
axis
Int32

Returns

Applies to

Unsqueeze<T>(TensorSpan<T>, Int32)

Source:
TensorExtensions.cs
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::Numerics::Tensors::TensorSpan<T> Unsqueeze(System::Numerics::Tensors::TensorSpan<T> % input, int axis);
public static System.Numerics.Tensors.TensorSpan<T> Unsqueeze<T> (this in System.Numerics.Tensors.TensorSpan<T> input, int axis);
static member Unsqueeze : TensorSpan * int -> System.Numerics.Tensors.TensorSpan<'T>
<Extension()>
Public Function Unsqueeze(Of T) (ByRef input As TensorSpan(Of T), axis As Integer) As TensorSpan(Of T)

Type Parameters

T

Parameters

axis
Int32

Returns

Applies to