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 LongTensor Sign ()
        {
            var result = new LongTensor();
            THLongTensor_sign(result.handle, this.handle);
            return result;
        }
public LongTensor Sign ( ) { var result = new LongTensor ( ) ; THLongTensor_sign ( result . handle , this . handle ) ; return result ; }
Computes the sign of the tensor.
Computes the sign of the tensor .