Backends/SiaNet.Backend.Torch/TypeGeneration.cs
/// <summary>
///  Finds the indices of all non-zero elements.
/// </summary>
Finds the indices of all non-zero elements.
Finds the indices of all non - zero elements .
public LongTensor NonZero ()
        {
            var result = new LongTensor();
            THByteTensor_nonzero (result.handle, this.handle);
            return result;
        }
public LongTensor NonZero ( ) { var result = new LongTensor ( ) ; THByteTensor_nonzero ( result . handle , this . handle ) ; return result ; }
Finds the indices of all non-zero elements.
Finds the indices of all non - zero elements .