public class ModelDownloadInfo extends Object
| Constructor and Description |
|---|
ModelDownloadInfo(Path downloadPath,
DownloadModelOptions downloadOptions)
Creates new instance with specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
DownloadModelOptions |
getDownloadOptions()
Returns options which was used to download registry model's assets.
|
Path |
getDownloadPath()
Returns path where model was saved, either directory or file.
|
public ModelDownloadInfo(Path downloadPath, DownloadModelOptions downloadOptions)
downloadPath - the path where model was saved.downloadOptions - the options used to download registry model's assets.public Path getDownloadPath()
DownloadModelOptions.isExpand() set
to true it would be the path to the directory where model files was extracted, otherwise it would be
the path to the ZIP file with model's assets.public DownloadModelOptions getDownloadOptions()
Copyright © 2022. All rights reserved.