Beispiel #1
0
        protected override Vector GetAction(Vector state)
        {
            var p0 = net.Forward(state).Sigmoid()[0];

            return((Vector)R.Choice(0f, 1f, p0));
        }
Beispiel #2
0
 public override void OnNextEpisode()
 {
     transform.localPosition = new Vector3(R.Range(-4f, 4f), 0, 0);
 }