Share via


Tensor.UnsignedRightShift(ReadOnlyTensorSpan<TScalar>, Int32) Operator

Definition

Performs an element-wise logical right shift on a tensor.

public:
 static System::Numerics::Tensors::Tensor<TScalar> ^ op_UnsignedRightShift(System::Numerics::Tensors::ReadOnlyTensorSpan<TScalar> % tensor, int shiftAmount);
public static System.Numerics.Tensors.Tensor<TScalar> op_UnsignedRightShift(in System.Numerics.Tensors.ReadOnlyTensorSpan<TScalar> tensor, int shiftAmount);
static member op_UnsignedRightShift : ReadOnlyTensorSpan * int -> System.Numerics.Tensors.Tensor<'TScalar (requires 'TScalar :> System.Numerics.IShiftOperators<'TScalar, int, 'TScalar>)>
Public Shared op_UnsignedRightShift (ByRef tensor As ReadOnlyTensorSpan(Of TScalar), shiftAmount As Integer) As Tensor(Of TScalar)

Parameters

tensor
ReadOnlyTensorSpan<TScalar>

The tensor to logical right shift.

shiftAmount
Int32

The amount to shift each element in tensor.

Returns

Tensor<TScalar>

A new tensor containing the result of tensor >>> shiftAmount.

Applies to