/// <summary> /// Release all unmanaged resources associated with this object /// </summary> protected override void DisposeObject() { if (_ptr != IntPtr.Zero) { CudaInvoke.cudaCascadeClassifierRelease(ref _ptr); } }
/// <summary> /// Release all unmanaged resources associated with this object /// </summary> protected override void DisposeObject() { CudaInvoke.cudaCascadeClassifierRelease(ref _ptr); if (_buffer != null) { _buffer.Dispose(); } }