Tensor.LeftShift Operatore
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| Nome | Descrizione |
|---|---|
| LeftShift<TScalar>(TensorSpan<TScalar>, Int32) |
Esegue uno spostamento a sinistra per elemento su un tensore. |
| LeftShift<TScalar>(Tensor<TScalar>, Int32) |
Esegue uno spostamento a sinistra per elemento su un tensore. |
| LeftShift<TScalar>(ReadOnlyTensorSpan<TScalar>, Int32) |
Esegue uno spostamento a sinistra per elemento su un tensore. |
LeftShift<TScalar>(TensorSpan<TScalar>, Int32)
- Origine:
- Tensor.op_LeftShift.cs
- Origine:
- Tensor.op_LeftShift.cs
Esegue uno spostamento a sinistra per elemento su un tensore.
public:
generic <typename TScalar>
where TScalar : System::Numerics::IShiftOperators<TScalar, int, TScalar> static System::Numerics::Tensors::Tensor<TScalar> ^ operator <<(System::Numerics::Tensors::TensorSpan<TScalar> % tensor, int shiftAmount);
public static System.Numerics.Tensors.Tensor<TScalar> operator <<<TScalar>(in System.Numerics.Tensors.TensorSpan<TScalar> tensor, int shiftAmount) where TScalar : System.Numerics.IShiftOperators<TScalar,int,TScalar>;
static member ( <<< ) : TensorSpan * int -> System.Numerics.Tensors.Tensor<'Scalar (requires 'Scalar :> System.Numerics.IShiftOperators<'Scalar, int, 'Scalar>)> (requires 'Scalar :> System.Numerics.IShiftOperators<'Scalar, int, 'Scalar>)
Public Operator <<(Of TScalar As IShiftOperators(Of TScalar, Integer, TScalar)) (ByRef tensor As TensorSpan(Of TScalar), shiftAmount As Integer) As Tensor(Of TScalar)
Parametri di tipo
- TScalar
Tipo degli elementi nel tensore.
Parametri
- tensor
- TensorSpan<TScalar>
Tensore da spostare a sinistra.
- shiftAmount
- Int32
Quantità di spostamento di ogni elemento in tensor.
Valori restituiti
Nuovo tensore contenente il risultato di tensor<<shiftAmount.
Si applica a
LeftShift<TScalar>(Tensor<TScalar>, Int32)
- Origine:
- Tensor.op_LeftShift.cs
- Origine:
- Tensor.op_LeftShift.cs
Esegue uno spostamento a sinistra per elemento su un tensore.
public:
generic <typename TScalar>
where TScalar : System::Numerics::IShiftOperators<TScalar, int, TScalar> static System::Numerics::Tensors::Tensor<TScalar> ^ operator <<(System::Numerics::Tensors::Tensor<TScalar> ^ tensor, int shiftAmount);
public static System.Numerics.Tensors.Tensor<TScalar> operator <<<TScalar>(System.Numerics.Tensors.Tensor<TScalar> tensor, int shiftAmount) where TScalar : System.Numerics.IShiftOperators<TScalar,int,TScalar>;
static member ( <<< ) : System.Numerics.Tensors.Tensor<'Scalar (requires 'Scalar :> System.Numerics.IShiftOperators<'Scalar, int, 'Scalar>)> * int -> System.Numerics.Tensors.Tensor<'Scalar (requires 'Scalar :> System.Numerics.IShiftOperators<'Scalar, int, 'Scalar>)> (requires 'Scalar :> System.Numerics.IShiftOperators<'Scalar, int, 'Scalar>)
Public Operator <<(Of TScalar As IShiftOperators(Of TScalar, Integer, TScalar)) (tensor As Tensor(Of TScalar), shiftAmount As Integer) As Tensor(Of TScalar)
Parametri di tipo
- TScalar
Tipo degli elementi nel tensore.
Parametri
- tensor
- Tensor<TScalar>
Tensore da spostare a sinistra.
- shiftAmount
- Int32
Quantità di spostamento di ogni elemento in tensor.
Valori restituiti
Nuovo tensore contenente il risultato di tensor<<shiftAmount.
Si applica a
LeftShift<TScalar>(ReadOnlyTensorSpan<TScalar>, Int32)
- Origine:
- Tensor.op_LeftShift.cs
- Origine:
- Tensor.op_LeftShift.cs
Esegue uno spostamento a sinistra per elemento su un tensore.
public:
generic <typename TScalar>
where TScalar : System::Numerics::IShiftOperators<TScalar, int, TScalar> static System::Numerics::Tensors::Tensor<TScalar> ^ operator <<(System::Numerics::Tensors::ReadOnlyTensorSpan<TScalar> % tensor, int shiftAmount);
public static System.Numerics.Tensors.Tensor<TScalar> operator <<<TScalar>(in System.Numerics.Tensors.ReadOnlyTensorSpan<TScalar> tensor, int shiftAmount) where TScalar : System.Numerics.IShiftOperators<TScalar,int,TScalar>;
static member ( <<< ) : ReadOnlyTensorSpan * int -> System.Numerics.Tensors.Tensor<'Scalar (requires 'Scalar :> System.Numerics.IShiftOperators<'Scalar, int, 'Scalar>)> (requires 'Scalar :> System.Numerics.IShiftOperators<'Scalar, int, 'Scalar>)
Public Operator <<(Of TScalar As IShiftOperators(Of TScalar, Integer, TScalar)) (ByRef tensor As ReadOnlyTensorSpan(Of TScalar), shiftAmount As Integer) As Tensor(Of TScalar)
Parametri di tipo
- TScalar
Tipo degli elementi nel tensore.
Parametri
- tensor
- ReadOnlyTensorSpan<TScalar>
Tensore da spostare a sinistra.
- shiftAmount
- Int32
Quantità di spostamento di ogni elemento in tensor.
Valori restituiti
Nuovo tensore contenente il risultato di tensor<<shiftAmount.