예제 #1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (context_ == null)
                    {
                        context_ = new global::Tensorflow.Features();
                    }
                    input.ReadMessage(context_);
                    break;
                }

                case 18: {
                    if (featureLists_ == null)
                    {
                        featureLists_ = new global::Tensorflow.FeatureLists();
                    }
                    input.ReadMessage(featureLists_);
                    break;
                }
                }
            }
        }
예제 #2
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (context_ == null)
                    {
                        Context = new global::Tensorflow.Features();
                    }
                    input.ReadMessage(Context);
                    break;
                }

                case 18: {
                    if (featureLists_ == null)
                    {
                        FeatureLists = new global::Tensorflow.FeatureLists();
                    }
                    input.ReadMessage(FeatureLists);
                    break;
                }
                }
            }
        }
예제 #3
0
 public void MergeFrom(SequenceExample other)
 {
     if (other == null)
     {
         return;
     }
     if (other.context_ != null)
     {
         if (context_ == null)
         {
             context_ = new global::Tensorflow.Features();
         }
         Context.MergeFrom(other.Context);
     }
     if (other.featureLists_ != null)
     {
         if (featureLists_ == null)
         {
             featureLists_ = new global::Tensorflow.FeatureLists();
         }
         FeatureLists.MergeFrom(other.FeatureLists);
     }
 }
예제 #4
0
 public void MergeFrom(SequenceExample other)
 {
     if (other == null)
     {
         return;
     }
     if (other.context_ != null)
     {
         if (context_ == null)
         {
             Context = new global::Tensorflow.Features();
         }
         Context.MergeFrom(other.Context);
     }
     if (other.featureLists_ != null)
     {
         if (featureLists_ == null)
         {
             FeatureLists = new global::Tensorflow.FeatureLists();
         }
         FeatureLists.MergeFrom(other.FeatureLists);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }