Tensor.Unsqueeze Method
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
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
- input
- ReadOnlyTensorSpan<T>
- 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
- input
- TensorSpan<T>
- axis
- Int32
Returns
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Comentários
https://aka.ms/ContentUserFeedback.
Brevemente: Ao longo de 2024, vamos descontinuar progressivamente o GitHub Issues como mecanismo de feedback para conteúdos e substituí-lo por um novo sistema de feedback. Para obter mais informações, veja:Submeter e ver comentários