public void MergeFrom(LogMetadata other) { if (other == null) { return; } if (other.modelSpec_ != null) { if (modelSpec_ == null) { ModelSpec = new global::Tensorflow.Serving.ModelSpec(); } ModelSpec.MergeFrom(other.ModelSpec); } if (other.samplingConfig_ != null) { if (samplingConfig_ == null) { SamplingConfig = new global::Tensorflow.Serving.SamplingConfig(); } SamplingConfig.MergeFrom(other.SamplingConfig); } savedModelTags_.Add(other.savedModelTags_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (modelSpec_ == null) { modelSpec_ = new global::Tensorflow.Serving.ModelSpec(); } input.ReadMessage(modelSpec_); break; } case 18: { if (input_ == null) { input_ = new global::Tensorflow.Serving.Input(); } input.ReadMessage(input_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (modelSpec_ == null) { modelSpec_ = new global::Tensorflow.Serving.ModelSpec(); } input.ReadMessage(modelSpec_); break; } case 18: { inputs_.AddEntriesFrom(input, _map_inputs_codec); break; } case 26: { outputFilter_.AddEntriesFrom(input, _repeated_outputFilter_codec); break; } } } }
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 (result_ == null) { Result = new global::Tensorflow.Serving.RegressionResult(); } input.ReadMessage(Result); break; } case 18: { if (modelSpec_ == null) { ModelSpec = new global::Tensorflow.Serving.ModelSpec(); } input.ReadMessage(ModelSpec); break; } } } }
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 (modelSpec_ == null) { modelSpec_ = new global::Tensorflow.Serving.ModelSpec(); } input.ReadMessage(modelSpec_); break; } case 18: { metadata_.AddEntriesFrom(input, _map_metadata_codec); break; } } } }
public void MergeFrom(InferenceResult other) { if (other == null) { return; } if (other.modelSpec_ != null) { if (modelSpec_ == null) { modelSpec_ = new global::Tensorflow.Serving.ModelSpec(); } ModelSpec.MergeFrom(other.ModelSpec); } switch (other.ResultCase) { case ResultOneofCase.ClassificationResult: ClassificationResult = other.ClassificationResult; break; case ResultOneofCase.RegressionResult: RegressionResult = other.RegressionResult; break; } }
public void MergeFrom(InferenceResult other) { if (other == null) { return; } if (other.modelSpec_ != null) { if (modelSpec_ == null) { ModelSpec = new global::Tensorflow.Serving.ModelSpec(); } ModelSpec.MergeFrom(other.ModelSpec); } switch (other.ResultCase) { case ResultOneofCase.ClassificationResult: if (ClassificationResult == null) { ClassificationResult = new global::Tensorflow.Serving.ClassificationResult(); } ClassificationResult.MergeFrom(other.ClassificationResult); break; case ResultOneofCase.RegressionResult: if (RegressionResult == null) { RegressionResult = new global::Tensorflow.Serving.RegressionResult(); } RegressionResult.MergeFrom(other.RegressionResult); break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(GetModelStatusRequest other) { if (other == null) { return; } if (other.modelSpec_ != null) { if (modelSpec_ == null) { modelSpec_ = new global::Tensorflow.Serving.ModelSpec(); } ModelSpec.MergeFrom(other.ModelSpec); } }
public void MergeFrom(PredictResponse other) { if (other == null) { return; } if (other.modelSpec_ != null) { if (modelSpec_ == null) { modelSpec_ = new global::Tensorflow.Serving.ModelSpec(); } ModelSpec.MergeFrom(other.ModelSpec); } outputs_.Add(other.outputs_); }
public void MergeFrom(GetModelMetadataResponse other) { if (other == null) { return; } if (other.modelSpec_ != null) { if (modelSpec_ == null) { modelSpec_ = new global::Tensorflow.Serving.ModelSpec(); } ModelSpec.MergeFrom(other.ModelSpec); } metadata_.Add(other.metadata_); }
public void MergeFrom(GetModelStatusRequest other) { if (other == null) { return; } if (other.modelSpec_ != null) { if (modelSpec_ == null) { ModelSpec = new global::Tensorflow.Serving.ModelSpec(); } ModelSpec.MergeFrom(other.ModelSpec); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(GetModelMetadataRequest other) { if (other == null) { return; } if (other.modelSpec_ != null) { if (modelSpec_ == null) { modelSpec_ = new global::Tensorflow.Serving.ModelSpec(); } ModelSpec.MergeFrom(other.ModelSpec); } metadataField_.Add(other.metadataField_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(PredictResponse other) { if (other == null) { return; } if (other.modelSpec_ != null) { if (modelSpec_ == null) { ModelSpec = new global::Tensorflow.Serving.ModelSpec(); } ModelSpec.MergeFrom(other.ModelSpec); } outputs_.Add(other.outputs_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (modelSpec_ == null) { modelSpec_ = new global::Tensorflow.Serving.ModelSpec(); } input.ReadMessage(modelSpec_); break; } case 18: { global::Tensorflow.Serving.ClassificationResult subBuilder = new global::Tensorflow.Serving.ClassificationResult(); if (resultCase_ == ResultOneofCase.ClassificationResult) { subBuilder.MergeFrom(ClassificationResult); } input.ReadMessage(subBuilder); ClassificationResult = subBuilder; break; } case 26: { global::Tensorflow.Serving.RegressionResult subBuilder = new global::Tensorflow.Serving.RegressionResult(); if (resultCase_ == ResultOneofCase.RegressionResult) { subBuilder.MergeFrom(RegressionResult); } input.ReadMessage(subBuilder); RegressionResult = subBuilder; break; } } } }
public void MergeFrom(InferenceTask other) { if (other == null) { return; } if (other.modelSpec_ != null) { if (modelSpec_ == null) { modelSpec_ = new global::Tensorflow.Serving.ModelSpec(); } ModelSpec.MergeFrom(other.ModelSpec); } if (other.MethodName.Length != 0) { MethodName = other.MethodName; } }
public void MergeFrom(SessionRunResponse other) { if (other == null) { return; } if (other.modelSpec_ != null) { if (modelSpec_ == null) { ModelSpec = new global::Tensorflow.Serving.ModelSpec(); } ModelSpec.MergeFrom(other.ModelSpec); } tensor_.Add(other.tensor_); if (other.metadata_ != null) { if (metadata_ == null) { Metadata = new global::Tensorflow.RunMetadata(); } Metadata.MergeFrom(other.Metadata); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(InferenceTask other) { if (other == null) { return; } if (other.modelSpec_ != null) { if (modelSpec_ == null) { ModelSpec = new global::Tensorflow.Serving.ModelSpec(); } ModelSpec.MergeFrom(other.ModelSpec); } if (other.MethodName.Length != 0) { MethodName = other.MethodName; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(SessionRunRequest other) { if (other == null) { return; } if (other.modelSpec_ != null) { if (modelSpec_ == null) { ModelSpec = new global::Tensorflow.Serving.ModelSpec(); } ModelSpec.MergeFrom(other.ModelSpec); } feed_.Add(other.feed_); fetch_.Add(other.fetch_); target_.Add(other.target_); if (other.options_ != null) { if (options_ == null) { Options = new global::Tensorflow.RunOptions(); } Options.MergeFrom(other.Options); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(ClassificationResponse other) { if (other == null) { return; } if (other.modelSpec_ != null) { if (modelSpec_ == null) { modelSpec_ = new global::Tensorflow.Serving.ModelSpec(); } ModelSpec.MergeFrom(other.ModelSpec); } if (other.result_ != null) { if (result_ == null) { result_ = new global::Tensorflow.Serving.ClassificationResult(); } Result.MergeFrom(other.Result); } }
public void MergeFrom(ClassificationRequest other) { if (other == null) { return; } if (other.modelSpec_ != null) { if (modelSpec_ == null) { modelSpec_ = new global::Tensorflow.Serving.ModelSpec(); } ModelSpec.MergeFrom(other.ModelSpec); } if (other.input_ != null) { if (input_ == null) { input_ = new global::Tensorflow.Serving.Input(); } Input.MergeFrom(other.Input); } }
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 (modelSpec_ == null) { ModelSpec = new global::Tensorflow.Serving.ModelSpec(); } input.ReadMessage(ModelSpec); break; } case 18: { if (samplingConfig_ == null) { SamplingConfig = new global::Tensorflow.Serving.SamplingConfig(); } input.ReadMessage(SamplingConfig); break; } case 26: { savedModelTags_.AddEntriesFrom(input, _repeated_savedModelTags_codec); break; } } } }
public void MergeFrom(RegressionResponse other) { if (other == null) { return; } if (other.modelSpec_ != null) { if (modelSpec_ == null) { ModelSpec = new global::Tensorflow.Serving.ModelSpec(); } ModelSpec.MergeFrom(other.ModelSpec); } if (other.result_ != null) { if (result_ == null) { Result = new global::Tensorflow.Serving.RegressionResult(); } Result.MergeFrom(other.Result); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
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 (modelSpec_ == null) { ModelSpec = new global::Tensorflow.Serving.ModelSpec(); } input.ReadMessage(ModelSpec); break; } case 18: { feed_.AddEntriesFrom(input, _repeated_feed_codec); break; } case 26: { fetch_.AddEntriesFrom(input, _repeated_fetch_codec); break; } case 34: { target_.AddEntriesFrom(input, _repeated_target_codec); break; } case 42: { if (options_ == null) { Options = new global::Tensorflow.RunOptions(); } input.ReadMessage(Options); break; } } } }
public void MergeFrom(RegressionRequest other) { if (other == null) { return; } if (other.modelSpec_ != null) { if (modelSpec_ == null) { ModelSpec = new global::Tensorflow.Serving.ModelSpec(); } ModelSpec.MergeFrom(other.ModelSpec); } if (other.input_ != null) { if (input_ == null) { Input = new global::Tensorflow.Serving.Input(); } Input.MergeFrom(other.Input); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }