using System; using System.IO; namespace Tensorflow.Eager { public class ContextOptions : DisposableObject { public ContextOptions() : base(c_api.TFE_NewContextOptions()) { } /// /// Dispose any unmanaged resources related to given . /// protected sealed override void DisposeUnmanagedResources(IntPtr handle) => c_api.TFE_DeleteContextOptions(_handle); public static implicit operator IntPtr(ContextOptions opts) => opts._handle; } }