module
model.py
function
calculate_model_size
model_dir
(str): directory in which model is present.class
ModelVersion
property
created_atproperty
created_byproperty
descriptionproperty
fqnproperty
metadataproperty
metricsproperty
model_fqnproperty
model_schemaproperty
nameproperty
stepproperty
updated_atproperty
versionfunction
delete
function
download
path
(str): Absolute path of the local filesystem destination directory to download the specified models. This directory must already exist. If unspecified, the models will either be downloaded to a new uniquely-named directory on the local filesystem or returned directly in the case of the Local ModelRepository.overwrite
(bool): If True it will overwrite the file if it is already present in the download directory else it will throw an errorModelVersionDownloadInfo
: Download Info instance containing model_dir
(path to downloaded model folder) and other metadataclassmethod
from_fqn
fqn
(str): Fully qualified name of the model version.ModelVersion
: An ModelVersion instance of the Modelfunction
raw_download
path
(str): Absolute path of the local filesystem destination directory to download the specified models. This directory must already exist. If unspecified, the models will either be downloaded to a new uniquely-named directory on the local filesystem or returned directly in the case of the Local ModelRepository.overwrite
(bool): If True it will overwrite the file if it is already present in the download directory else it will throw an errorpath
: Absolute path of the local filesystem location containing the desired models.function
update