Backends/SiaNet.Backend.TensorSharp/NDArray.cs
/// <summary>
/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
/// </summary>
/// <exception cref="ObjectDisposedException">Tensor</exception>
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Performs application - defined tasks associated with freeing releasing or resetting unmanaged resources .
public void Dispose()
        {
            if (!isDisposed)
            {
                isDisposed = true;
                this.storage.Release();
            }
            else
            {
                throw new ObjectDisposedException("Tensor");
            }
        }
public void Dispose ( ) { if ( ! isDisposed ) { isDisposed = true ; this . storage . Release ( ) ; } else { throw new ObjectDisposedException ( " " ) ; } }
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Performs application - defined tasks associated with freeing releasing or resetting unmanaged resources .
None