Tensor.ShiftRightArithmetic Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
| Nombre | Description |
|---|---|
| ShiftRightArithmetic<T>(ReadOnlyTensorSpan<T>, Int32) |
Realiza un desplazamiento aritmético aritmético a la derecha en un tensor. |
| ShiftRightArithmetic<T>(ReadOnlyTensorSpan<T>, Int32, TensorSpan<T>) |
Realiza un desplazamiento aritmético aritmético a la derecha en un tensor. |
ShiftRightArithmetic<T>(ReadOnlyTensorSpan<T>, Int32)
- Source:
- Tensor.op_RightShift.cs
- Source:
- Tensor.op_RightShift.cs
Realiza un desplazamiento aritmético aritmético a la derecha en un tensor.
public:
generic <typename T>
where T : System::Numerics::IShiftOperators<T, int, T> static System::Numerics::Tensors::Tensor<T> ^ ShiftRightArithmetic(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, int shiftAmount);
public static System.Numerics.Tensors.Tensor<T> ShiftRightArithmetic<T>(in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, int shiftAmount) where T : System.Numerics.IShiftOperators<T,int,T>;
static member ShiftRightArithmetic : ReadOnlyTensorSpan * int -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IShiftOperators<'T, int, 'T>)> (requires 'T :> System.Numerics.IShiftOperators<'T, int, 'T>)
Public Function ShiftRightArithmetic(Of T As IShiftOperators(Of T, Integer, T)) (ByRef x As ReadOnlyTensorSpan(Of T), shiftAmount As Integer) As Tensor(Of T)
Parámetros de tipo
- T
Tipo de los elementos del tensor.
Parámetros
Tensor a desplazamiento aritmético a la derecha.
- shiftAmount
- Int32
Cantidad que se va a desplazar cada elemento de x.
Devoluciones
Nuevo tensor que contiene el resultado de x>>shiftAmount.
Se aplica a
ShiftRightArithmetic<T>(ReadOnlyTensorSpan<T>, Int32, TensorSpan<T>)
- Source:
- Tensor.op_RightShift.cs
- Source:
- Tensor.op_RightShift.cs
Realiza un desplazamiento aritmético aritmético a la derecha en un tensor.
public:
generic <typename T>
where T : System::Numerics::IShiftOperators<T, int, T> static System::Numerics::Tensors::TensorSpan<T> ^ ShiftRightArithmetic(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, int shiftAmount, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> ShiftRightArithmetic<T>(scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, int shiftAmount, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IShiftOperators<T,int,T>;
static member ShiftRightArithmetic : ReadOnlyTensorSpan * int * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IShiftOperators<'T, int, 'T>)
Public Function ShiftRightArithmetic(Of T As IShiftOperators(Of T, Integer, T)) (ByRef x As ReadOnlyTensorSpan(Of T), shiftAmount As Integer, ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)
Parámetros de tipo
- T
Tipo de los elementos del tensor.
Parámetros
Tensor a desplazamiento aritmético a la derecha.
- shiftAmount
- Int32
Cantidad que se va a desplazar cada elemento de x.
- destination
- TensorSpan<T>
Destino donde se escribe el resultado de x>>shiftAmount .
Devoluciones
Referencia a una estructura destination.
Excepciones
Las formas de x y destination no son compatibles.