Backends/SiaNet.Backend.TensorSharp/Cpu/CpuStorage.cs
/// <summary>
/// This method is called when the reference count reaches zero. It will be called at most once to allow subclasses to release resources.
/// </summary>
This method is called when the reference count reaches zero. It will be called at most once to allow subclasses to release resources.
This method is called when the reference count reaches zero . It will be called at most once to allow subclasses to release resources .
protected override void Destroy()
        {
            Marshal.FreeHGlobal(buffer);
            buffer = IntPtr.Zero;
        }
protected override void Destroy ( ) { Marshal . FreeHGlobal ( buffer ) ; buffer = IntPtr . Zero ; }
This method is called when the reference count reaches zero.
This method is called when the reference count reaches zero .