Model Producer
The Model Producer operator is used to push a model to the model repository.
Configuration Parameters
Parameter |
Type |
Description |
---|---|---|
versionControl | string | Operation mode of the operator. If its value is 'conf' the model
name and modelVersion are taken form the configuration parameters.
If its value is 'input' the model name and model version is taken
from the input ports. "auto" mode is defined to increase the model
version automatically by the operator. It takes the modelVersion
parameter as the prefix of the model version and pushes model with
version appending a number to this prefix. The version number is in
increasing order and starts from 1. If there is a model in the
repository with the given name, it takes the version number of the
latest version with this version prefix as starting version
number.
Default: "conf" |
modelName | string | The name of the model to be consumed. This configuration
parameter is used only in 'conf' and 'auto' modes.
Default: "" |
modelVersion |
string |
The version of the model to be consumed. This configuration parameter is used only in 'conf' and 'auto' modes. Default: "" |
Input
Input |
Type |
Description |
---|---|---|
inModelName |
string |
The name of the model to push to the repository. Used only in 'input' mode. |
inModelVersion |
string |
The version of the model to push to the repository. Used only in 'input' mode. |
inModelMetadata |
string |
The metadata of the model to push to the repository. |
inModelPath |
string |
The path of the model to push to the repository. The content of this port is not used if the model binary has already been supplied. |
inModelBinary |
string |
The binary of the model to push to the repository. The content of this port is not used if the model path has already been supplied. |
Output
Output |
Type |
Description |
---|---|---|
success |
string |
Output to indicate that the model is pushed to the repository successfully. |