示例#1
0
        public PantheonBrain(string modelFilename)
        {
            Instance = this;

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

            MLLoop();
        }
示例#2
0
文件: GJobManager.cs 项目: Bgoon/GKit
 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();
     }
 }