Ejemplo n.º 1
0
 public void MergeFrom(FnnVehicleModel other)
 {
     if (other == null)
     {
         return;
     }
     if (other.DimInput != 0)
     {
         DimInput = other.DimInput;
     }
     if (other.samplesMean_ != null)
     {
         if (samplesMean_ == null)
         {
             samplesMean_ = new global::Apollo.Prediction.Vector();
         }
         SamplesMean.MergeFrom(other.SamplesMean);
     }
     if (other.samplesStd_ != null)
     {
         if (samplesStd_ == null)
         {
             samplesStd_ = new global::Apollo.Prediction.Vector();
         }
         SamplesStd.MergeFrom(other.SamplesStd);
     }
     if (other.NumLayer != 0)
     {
         NumLayer = other.NumLayer;
     }
     layer_.Add(other.layer_);
     if (other.DimOutput != 0)
     {
         DimOutput = other.DimOutput;
     }
 }