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
FieldsModifier and TypeFieldDescriptionfinal StringThe Conda environment name.final StringThe Conda environment path in object storage.final OCIUtil.OCIDSConfigThe OCI Data Science config.final StringThe model description.final StringThe model display name.final StringThe ONNX domain name.final intThe ONNX model version. -
Constructor Summary
ConstructorsConstructorDescriptionOCIModelArtifactConfig(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.
-