Example #1
0
 public float[] Compute(Bitmap bmp)
 {
     return(Network.Compute(bmp.GetDoubleMatrix()));
 }
Example #2
0
 public override ActionValueFunction Q(QState s)
 {
     _output = _net.Compute(s.Features);
     return(a => _output[_amap[a.ActionId]]);
 }