public StructuralObjectDetectionTrainer(T scanner)
        {
            if (scanner == null)
            {
                throw new ArgumentNullException(nameof(scanner));
            }

            this._Imp = CreateImp(scanner);
        }
예제 #2
0
        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;
        }
예제 #3
0
        public DnnTrainer(T net)
        {
            this._Imp = CreateImp(net);

            this.NativePtr = this._Imp.NativePtr;
        }