Breyta

Deila með


Tensor.Squeeze Method

Definition

Overloads

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

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

Source:
TensorExtensions.cs
public static System.Numerics.Tensors.Tensor<T> Squeeze<T> (this System.Numerics.Tensors.Tensor<T> input, int axis = -1);
static member Squeeze : System.Numerics.Tensors.Tensor<'T> * int -> System.Numerics.Tensors.Tensor<'T>
<Extension()>
Public Function Squeeze(Of T) (input As Tensor(Of T), Optional axis As Integer = -1) As Tensor(Of T)

Type Parameters

T

Parameters

input
Tensor<T>
axis
Int32

Returns

Applies to

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

Source:
TensorExtensions.cs
public static System.Numerics.Tensors.ReadOnlyTensorSpan<T> Squeeze<T> (this in System.Numerics.Tensors.ReadOnlyTensorSpan<T> input, int axis = -1);
static member Squeeze : ReadOnlyTensorSpan * int -> System.Numerics.Tensors.ReadOnlyTensorSpan<'T>
<Extension()>
Public Function Squeeze(Of T) (ByRef input As ReadOnlyTensorSpan(Of T), Optional axis As Integer = -1) As ReadOnlyTensorSpan(Of T)

Type Parameters

T

Parameters

axis
Int32

Returns

Applies to

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

Source:
TensorExtensions.cs
public static System.Numerics.Tensors.TensorSpan<T> Squeeze<T> (this in System.Numerics.Tensors.TensorSpan<T> input, int axis = -1);
static member Squeeze : TensorSpan * int -> System.Numerics.Tensors.TensorSpan<'T>
<Extension()>
Public Function Squeeze(Of T) (ByRef input As TensorSpan(Of T), Optional axis As Integer = -1) As TensorSpan(Of T)

Type Parameters

T

Parameters

axis
Int32

Returns

Applies to