Example #1
0
 public void MergeFrom(AlgorithmBlacklistEntry other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Hlo.Length != 0)
     {
         Hlo = other.Hlo;
     }
     if (other.cc_ != null)
     {
         if (cc_ == null)
         {
             Cc = new global::Tensorflow.ComputeCapability();
         }
         Cc.MergeFrom(other.Cc);
     }
     if (other.cudnnVersion_ != null)
     {
         if (cudnnVersion_ == null)
         {
             CudnnVersion = new global::Tensorflow.CudnnVersion();
         }
         CudnnVersion.MergeFrom(other.CudnnVersion);
     }
     if (other.BlasVersion.Length != 0)
     {
         BlasVersion = other.BlasVersion;
     }
     algos_.Add(other.algos_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }