Backends/SiaNet.Backend.Torch/TypeGeneration.cs
/// <summary>
///   Performs the LShift operation on each element of the source with the
///   provided scalar.   The result tensor specified as the last parameters
///   is resized to match the source.
/// </summary>
/// <remarks>
///    For each element in the <see paramref="source"/> performs the LShift operation
///    with <see paramref="value"/>.   The result is stored in the <see paramref="result"/>
///    tensor.
/// </remarks>
/// <param name="source">Source tensor on which the operation will take place.</param>
/// <param name="value">The scalar value that the operation uses.</param>
/// <param name="result">The tensor where the result will be placed</param>
Performs the LShift operation on each element of the source with the
provided scalar.   The result tensor specified as the last parameters
is resized to match the source.
Performs the LShift operation on each element of the source with the provided scalar . The result tensor specified as the last parameters is resized to match the source .
public static void LShift (ShortTensor source, short value, ShortTensor result)
        {
            THShortTensor_lshift (result.handle, source.handle, value);
        }
public static void LShift ( ShortTensor source , short value , ShortTensor result ) { THShortTensor_lshift ( result . handle , source . handle , value ) ; }
Performs the LShift operation on each element of the source with the
provided scalar.
Performs the LShift operation on each element of the source with the provided scalar .
// Arguments swapped to match Func<.., TResult>
source
ShortTensor
Source tensor on which the operation will take place.
Source tensor on which the operation will take place .
value
short
The scalar value that the operation uses.
The scalar value that the operation uses .
result
ShortTensor
The tensor where the result will be placed
The tensor where the result will be placed
remarks
For each element in the  performs the LShift operation
with .   The result is stored in the
tensor.
For each element in the performs the LShift operation with . The result is stored in the tensor .