Exemple #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (modelParam_ != null)
            {
                hash ^= ModelParam.GetHashCode();
            }
            if (netParam_ != null)
            {
                hash ^= NetParam.GetHashCode();
            }
            return(hash);
        }
Exemple #2
0
 public void MergeFrom(DenselineParam other)
 {
     if (other == null)
     {
         return;
     }
     if (other.modelParam_ != null)
     {
         if (modelParam_ == null)
         {
             modelParam_ = new global::Apollo.Perception.Camera.Denseline.ModelParam();
         }
         ModelParam.MergeFrom(other.ModelParam);
     }
     if (other.netParam_ != null)
     {
         if (netParam_ == null)
         {
             netParam_ = new global::Apollo.Perception.Camera.Denseline.NetworkParam();
         }
         NetParam.MergeFrom(other.NetParam);
     }
 }