protected override Vector GetAction(Vector state) { var p0 = net.Forward(state).Sigmoid()[0]; return((Vector)R.Choice(0f, 1f, p0)); }
public override void OnNextEpisode() { transform.localPosition = new Vector3(R.Range(-4f, 4f), 0, 0); }