modelToUpload property
Describes the Model that may be uploaded (via
ModelService.UploadModel)
by this TrainingPipeline. The TrainingPipeline's
training_task_definition
should make clear whether this Model description should be populated, and
if there are any special requirements regarding how it should be filled. If
nothing is mentioned in the
training_task_definition,
then it should be assumed that this field should not be filled and the
training task either uploads the Model without a need of this information,
or that training task does not support uploading a Model as part of the
pipeline. When the Pipeline's state becomes PIPELINE_STATE_SUCCEEDED and
the trained Model had been uploaded into Vertex AI, then the
model_to_upload's resource
name is populated. The Model
is always uploaded into the Project and Location in which this pipeline
is.
Implementation
final Model? modelToUpload;