Пример #1
0
        public PantheonBrain(string modelFilename)
        {
            Instance = this;

            this.modelFilename = modelFilename;
            inputDatas         = new float[1, MovingDataset.InputFloatCount];
            JobManager         = new GJobManager();

            MLLoop();
        }
Пример #2
0
 public GJob(GJobManager ownerJobManager, Action action, float delayMillisec = 0f)
 {
     this.ownerJobManager = ownerJobManager;
     this.action          = action;
     this.delayMillisec   = delayMillisec;
     this.watch           = new Stopwatch();
     if (delayMillisec > 0f)
     {
         watch.Start();
     }
 }