Exemple #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;
                }
                }
            }
        }
Exemple #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;
                }
                }
            }
        }
Exemple #3
0
 public void MergeFrom(Example other)
 {
     if (other == null)
     {
         return;
     }
     if (other.features_ != null)
     {
         if (features_ == null)
         {
             features_ = new global::Tensorflow.Features();
         }
         Features.MergeFrom(other.Features);
     }
 }
 public void MergeFrom(Example other)
 {
     if (other == null)
     {
         return;
     }
     if (other.features_ != null)
     {
         if (features_ == null)
         {
             features_ = new global::Tensorflow.Features();
         }
         Features.MergeFrom(other.Features);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemple #5
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);
     }
 }
Exemple #6
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);
 }