public StructuralObjectDetectionTrainer(T scanner) { if (scanner == null) { throw new ArgumentNullException(nameof(scanner)); } this._Imp = CreateImp(scanner); }
public DnnTrainer(T net, Sgd sgd) { if (sgd == null) { throw new ArgumentNullException(nameof(sgd)); } sgd.ThrowIfDisposed(); this._Imp = CreateImp(net, sgd); this.NativePtr = this._Imp.NativePtr; }
public DnnTrainer(T net) { this._Imp = CreateImp(net); this.NativePtr = this._Imp.NativePtr; }