Exemplo n.º 1
0
        //private List<float> mean

        public Agent(SyftController _controller, Layer.Layer _model, Optimizer _optimizer)
        {
            controller = _controller;
            model      = _model;
            optimizer  = _optimizer;

            #pragma warning disable 420
            id = System.Threading.Interlocked.Increment(ref nCreated);
            controller.AddAgent(this);

            history = new List <FloatTensor[]>();
        }