public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { Name = input.ReadString(); break; } case 18: { if (value_ == null) { value_ = new global::Vision.Tensorflow.Proto.AttrValue(); } input.ReadMessage(value_); break; } } } }
public void MergeFrom(AttrDefault other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.value_ != null) { if (value_ == null) { value_ = new global::Vision.Tensorflow.Proto.AttrValue(); } Value.MergeFrom(other.Value); } }
public void MergeFrom(AttrConstraint other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.allowedValues_ != null) { if (allowedValues_ == null) { allowedValues_ = new global::Vision.Tensorflow.Proto.AttrValue(); } AllowedValues.MergeFrom(other.AllowedValues); } }