public override Observations InitObservations()
 {
     base.InitObservations();
     if (Observations.IsEmpty)
     {
         // Required.
         Observations.Add(OneHot, "One-Hot");
     }
     return(Observations);
 }
Exemple #2
0
 public override Observations InitObservations()
 {
     base.InitObservations();
     if (m_AddOneHotObservation)
     {
         // Optional.
         Observations.Add(OneHot, "One-Hot");
     }
     return(Observations);
 }