Package org.tribuo.interop.oci
Class OCIUtil.OCIModelArtifactConfig
java.lang.Object
org.tribuo.interop.oci.OCIUtil.OCIModelArtifactConfig
- Enclosing class:
- OCIUtil
Configuration for an OCI DS Model artifact.
Not a record, but will be.
-
Field Summary
Modifier and TypeFieldDescriptionfinal String
The Conda environment name.final String
The Conda environment path in object storage.final OCIUtil.OCIDSConfig
The OCI Data Science config.final String
The model description.final String
The model display name.final String
The ONNX domain name.final int
The ONNX model version. -
Constructor Summary
ConstructorDescriptionOCIModelArtifactConfig
(OCIUtil.OCIDSConfig dsConfig, String modelName, String modelDescription, String onnxDomain, int onnxModelVersion, String condaName, String condaPath) Constructs an OCIModelArtifactConfig, used to create an OCI DS model. -
Method Summary
-
Field Details
-
dsConfig
The OCI Data Science config. -
modelName
The model display name. -
modelDescription
The model description. -
onnxDomain
The ONNX domain name. -
onnxModelVersion
public final int onnxModelVersionThe ONNX model version. -
condaName
The Conda environment name. -
condaPath
The Conda environment path in object storage.
-
-
Constructor Details
-
OCIModelArtifactConfig
public OCIModelArtifactConfig(OCIUtil.OCIDSConfig dsConfig, String modelName, String modelDescription, String onnxDomain, int onnxModelVersion, String condaName, String condaPath) Constructs an OCIModelArtifactConfig, used to create an OCI DS model.- Parameters:
dsConfig
- The OCI Data Science config.modelName
- The model display name.modelDescription
- The model description.onnxDomain
- The domain to encode in the ONNX file. Should be a reverse-DNS style name, like a Java package.onnxModelVersion
- The ONNX model version number.condaName
- The conda environment name.condaPath
- The conda environment path.
-