Backends/SiaNet.Backend.Torch/TypeGeneration.cs
/// <summary>
///   Computes the sign of the tensor.
/// </summary>
Computes the sign of the tensor.
Computes the sign of the tensor .
public ShortTensor Sign ()
        {
            var result = new ShortTensor();
            THShortTensor_sign(result.handle, this.handle);
            return result;
        }
public ShortTensor Sign ( ) { var result = new ShortTensor ( ) ; THShortTensor_sign ( result . handle , this . handle ) ; return result ; }
Computes the sign of the tensor.
Computes the sign of the tensor .