- getApplication() - Method in class ai.djl.repository.zoo.Criteria
-
Returns the application of the model.
- getApplication() - Method in class ai.djl.repository.zoo.LocalModelLoader
-
Returns the application of the ModelLoader.
- getApplication() - Method in interface ai.djl.repository.zoo.ModelLoader
-
Returns the application of the ModelLoader.
- getArguments(Map<String, Object>) - Method in class ai.djl.repository.Artifact
-
Returns the artifact arguments.
- getArguments() - Method in class ai.djl.repository.zoo.Criteria
-
Returns the override configurations of the model loading arguments.
- getArtifact() - Method in class ai.djl.repository.Artifact.Item
-
Returns the artifact associated with this item.
- getArtifact() - Method in interface ai.djl.repository.dataset.ZooDataset
-
Returns the
Artifact the dataset is found in.
- getArtifact(String, Function<InputStream, T>) - Method in class ai.djl.repository.zoo.ZooModel
- getArtifact(String) - Method in class ai.djl.repository.zoo.ZooModel
- getArtifactAsStream(String) - Method in class ai.djl.repository.zoo.ZooModel
- getArtifactId() - Method in class ai.djl.repository.Metadata
-
Returns the artifactId.
- getArtifactId() - Method in class ai.djl.repository.MRL
-
Returns the artifactId.
- getArtifactId() - Method in class ai.djl.repository.zoo.BaseModelLoader
-
Returns the artifact ID of the ModelLoader.
- getArtifactId() - Method in class ai.djl.repository.zoo.Criteria
-
Returns the artifactId of the
ModelLoader to be searched.
- getArtifactId() - Method in class ai.djl.repository.zoo.LocalModelLoader
-
Returns the artifact ID of the ModelLoader.
- getArtifactId() - Method in interface ai.djl.repository.zoo.ModelLoader
-
Returns the artifact ID of the ModelLoader.
- getArtifactNames() - Method in class ai.djl.repository.zoo.ZooModel
- getArtifacts() - Method in class ai.djl.repository.Metadata
-
Returns all the artifacts in the metadata.
- getBaseAnchor() - Method in class ai.djl.repository.MRL
-
Returns the base anchor.
- getBaseUri() - Method in class ai.djl.repository.LocalRepository
-
Returns the URI to the base of the repository.
- getBaseUri() - Method in class ai.djl.repository.RemoteRepository
-
Returns the URI to the base of the repository.
- getBaseUri() - Method in interface ai.djl.repository.Repository
-
Returns the URI to the base of the repository.
- getBaseUri() - Method in class ai.djl.repository.SimpleRepository
-
Returns the URI to the base of the repository.
- getBlock() - Method in class ai.djl.repository.zoo.ZooModel
- getCacheDirectory() - Method in class ai.djl.repository.AbstractRepository
-
Returns the cache directory for the repository.
- getCacheDirectory() - Method in interface ai.djl.repository.Repository
-
Returns the cache directory for the repository.
- getCacheDirectory() - Method in class ai.djl.repository.SimpleRepository
-
Returns the cache directory for the repository.
- getChecksum() - Method in class ai.djl.repository.Metadata
-
Returns the metadata checksum.
- getDataType() - Method in class ai.djl.repository.zoo.ZooModel
- getDescription() - Method in class ai.djl.repository.Metadata
-
Returns the description.
- getDevice() - Method in class ai.djl.repository.zoo.Criteria
-
Returns the Device of the model to be loaded on.
- getEngine() - Method in class ai.djl.repository.zoo.Criteria
-
Returns the engine name.
- getExtension() - Method in class ai.djl.repository.Artifact.Item
-
Returns the type of file extension.
- getFile(Artifact.Item, String) - Method in class ai.djl.repository.AbstractRepository
-
Returns the path to a file for the item.
- getFile(Artifact.Item, String) - Method in interface ai.djl.repository.Repository
-
Returns the path to a file for the item.
- getFiles() - Method in class ai.djl.repository.Artifact
-
Returns all the file items in the artifact.
- getFilters() - Method in class ai.djl.repository.zoo.Criteria
-
Returns the search filters that must match the properties of the model.
- getGroupId() - Method in class ai.djl.repository.Metadata
-
Returns the groupId.
- getGroupId() - Method in class ai.djl.repository.MRL
-
Returns the groupId.
- getGroupId() - Method in class ai.djl.repository.zoo.Criteria
-
Returns the groupId of the
ModelZoo to be searched.
- getGroupId() - Method in class ai.djl.repository.zoo.LocalModelZoo
-
Returns the global unique identifier of the ModelZoo.
- getGroupId() - Method in interface ai.djl.repository.zoo.ModelZoo
-
Returns the global unique identifier of the ModelZoo.
- getIncrementalVersion() - Method in class ai.djl.repository.Version
-
Returns the incremental version (assuming major.minor.incremental...) of the version.
- getInputClass() - Method in class ai.djl.repository.zoo.Criteria
-
Returns the input data type.
- getLastUpdated() - Method in class ai.djl.repository.Metadata
-
Returns the last update date for the metadata.
- getMajorVersion() - Method in class ai.djl.repository.Version
-
Returns the major version (assuming major.minor.incremental...) of the version.
- getMetadata() - Method in class ai.djl.repository.Artifact
-
Returns the metadata containing this artifact.
- getMetadataVersion() - Method in class ai.djl.repository.Artifact
-
Returns the metadata format version.
- getMetadataVersion() - Method in class ai.djl.repository.Metadata
-
Returns the metadata format version.
- getMinorVersion() - Method in class ai.djl.repository.Version
-
Returns the minor version (assuming major.minor.incremental...) of the version.
- getModelLoader(String) - Method in interface ai.djl.repository.zoo.ModelZoo
-
- getModelLoaders() - Method in class ai.djl.repository.zoo.LocalModelZoo
-
Lists the available model families in the ModelZoo.
- getModelLoaders() - Method in interface ai.djl.repository.zoo.ModelZoo
-
Lists the available model families in the ModelZoo.
- getModelZoo() - Method in class ai.djl.repository.zoo.LocalZooProvider
-
- getModelZoo() - Method in interface ai.djl.repository.zoo.ZooProvider
-
- getMrl() - Method in interface ai.djl.repository.dataset.ZooDataset
-
Returns the
MRL of the dataset.
- getName() - Method in class ai.djl.repository.Artifact
-
Returns the artifact name.
- getName() - Method in class ai.djl.repository.Artifact.Item
-
Returns the item name.
- getName() - Method in class ai.djl.repository.LocalRepository
-
Returns the repository name.
- getName() - Method in class ai.djl.repository.Metadata
-
Returns the metadata-level name.
- getName() - Method in class ai.djl.repository.RemoteRepository
-
Returns the repository name.
- getName() - Method in interface ai.djl.repository.Repository
-
Returns the repository name.
- getName() - Method in class ai.djl.repository.SimpleRepository
-
Returns the repository name.
- getName() - Method in class ai.djl.repository.zoo.ZooModel
- getName() - Method in interface ai.djl.repository.zoo.ZooProvider
-
- getNDManager() - Method in class ai.djl.repository.zoo.ZooModel
- getOutputClass() - Method in class ai.djl.repository.zoo.Criteria
-
Returns the output data type.
- getParsedVersion() - Method in class ai.djl.repository.Artifact
-
Returns the artifact version as a
Version.
- getProgress() - Method in class ai.djl.repository.zoo.Criteria
-
Returns the optional Progress for the model loading.
- getProperties() - Method in class ai.djl.repository.Artifact
-
Returns the artifact properties.
- getProperty(String) - Method in class ai.djl.repository.zoo.ZooModel
- getRecommendedVersion() - Method in class ai.djl.repository.VersionRange
-
Returns the recommended version in the range.
- getRepository() - Method in interface ai.djl.repository.dataset.ZooDataset
-
- getRepositoryUri() - Method in class ai.djl.repository.Metadata
-
Returns the URI to the repository storing the metadata.
- getResourceUri() - Method in class ai.djl.repository.Artifact
-
Returns the location of the resource directory.
- getRestrictions() - Method in class ai.djl.repository.VersionRange
-
Returns the restrictions that compose the range.
- getSha1Hash() - Method in class ai.djl.repository.Artifact.Item
-
Returns the hash of the item.
- getSize() - Method in class ai.djl.repository.Artifact.Item
-
Returns the file size.
- getSupportedEngines() - Method in class ai.djl.repository.zoo.LocalModelZoo
-
Returns all supported engine names.
- getSupportedEngines() - Method in interface ai.djl.repository.zoo.ModelZoo
-
Returns all supported engine names.
- getTranslator() - Method in class ai.djl.repository.zoo.Criteria
-
Returns the optional
Translator to be used for
ZooModel.
- getTranslator() - Method in class ai.djl.repository.zoo.ZooModel
-
Returns the default translator.
- getType() - Method in class ai.djl.repository.Artifact.Item
-
Sets the type of the item.
- getUri() - Method in class ai.djl.repository.Artifact.Item
-
Returns the URI of the item.
- getUsage() - Method in interface ai.djl.repository.dataset.ZooDataset
-
Returns the Dataset.Usage of the dataset.
- getVersion() - Method in class ai.djl.repository.Artifact
-
Returns the artifact version.
- getWebsite() - Method in class ai.djl.repository.Metadata
-
Returns the website.
- GROUP_ID - Static variable in class ai.djl.repository.zoo.LocalModelZoo
-
- GSON - Static variable in interface ai.djl.repository.Repository
-
- listDirectory(Artifact.Item, String) - Method in class ai.djl.repository.AbstractRepository
-
Returns the list of files directly within a specified directory in a zipped directory item.
- listDirectory(Artifact.Item, String) - Method in interface ai.djl.repository.Repository
-
Returns the list of files directly within a specified directory in a zipped directory item.
- listModels() - Method in class ai.djl.repository.zoo.BaseModelLoader
-
Returns a list of the available artifacts that can be loaded.
- listModels() - Method in class ai.djl.repository.zoo.LocalModelLoader
-
Returns a list of the available artifacts that can be loaded.
- listModels() - Method in interface ai.djl.repository.zoo.ModelLoader
-
Returns a list of the available artifacts that can be loaded.
- listModels() - Static method in interface ai.djl.repository.zoo.ModelZoo
-
Returns the available Application and their model artifact metadata.
- load(Path, String, Map<String, String>) - Method in class ai.djl.repository.zoo.ZooModel
- loadModel(Criteria<S, T>) - Method in class ai.djl.repository.zoo.BaseModelLoader
-
Loads the model with the given criteria.
- loadModel(Criteria<S, T>) - Method in class ai.djl.repository.zoo.LocalModelLoader
-
Loads the model with the given criteria.
- loadModel(Map<String, String>, Device, Progress) - Method in class ai.djl.repository.zoo.LocalModelLoader
-
Loads the model with the given search filters.
- loadModel(Criteria<S, T>) - Method in interface ai.djl.repository.zoo.ModelLoader
-
Loads the model with the given criteria.
- loadModel() - Method in interface ai.djl.repository.zoo.ModelLoader
-
Loads the model.
- loadModel(Progress) - Method in interface ai.djl.repository.zoo.ModelLoader
-
Loads the model.
- loadModel(Map<String, String>) - Method in interface ai.djl.repository.zoo.ModelLoader
-
Loads the model with the given search filters.
- loadModel(Map<String, String>, Progress) - Method in interface ai.djl.repository.zoo.ModelLoader
-
Loads the model with the given search filters.
- loadModel(Map<String, String>, Device, Progress) - Method in interface ai.djl.repository.zoo.ModelLoader
-
Loads the model with the given search filters.
- loadModel(Criteria<I, O>) - Static method in interface ai.djl.repository.zoo.ModelZoo
-
- LocalModelLoader - Class in ai.djl.repository.zoo
-
- LocalModelLoader(Repository) - Constructor for class ai.djl.repository.zoo.LocalModelLoader
-
Creates the model loader from the given repository.
- LocalModelZoo - Class in ai.djl.repository.zoo
-
A
ModelZoo that contains models in local directory.
- LocalModelZoo(Path) - Constructor for class ai.djl.repository.zoo.LocalModelZoo
-
Creates the LocalModelZoo instance from the given directory.
- LocalRepository - Class in ai.djl.repository
-
A
LocalRepository is a
Repository located in a filesystem directory.
- LocalRepository(Path) - Constructor for class ai.djl.repository.LocalRepository
-
(Internal) Constructs a LocalRepository from the path with inferred name.
- LocalRepository(String, Path) - Constructor for class ai.djl.repository.LocalRepository
-
(Internal) Constructs a LocalRepository from the path with inferred name.
- LocalZooProvider - Class in ai.djl.repository.zoo
-
An
ZooProvider implementation can load models from local directory.
- LocalZooProvider() - Constructor for class ai.djl.repository.zoo.LocalZooProvider
-
- locate(MRL) - Method in class ai.djl.repository.LocalRepository
-
Returns the metadata at a mrl.
- locate(MRL) - Method in class ai.djl.repository.RemoteRepository
-
Returns the metadata at a mrl.
- locate(MRL) - Method in interface ai.djl.repository.Repository
-
Returns the metadata at a mrl.
- locate(MRL) - Method in class ai.djl.repository.SimpleRepository
-
Returns the metadata at a mrl.
- save(Path, String) - Method in class ai.djl.repository.zoo.ZooModel
- search(VersionRange, Map<String, String>) - Method in class ai.djl.repository.Metadata
-
Returns the artifacts matching the version and property requirements.
- setArguments(LinkedHashMap<String, Object>) - Method in class ai.djl.repository.Artifact
-
Sets the artifact arguments.
- setArtifact(Artifact) - Method in class ai.djl.repository.Artifact.Item
-
Sets the artifact associated with this item.
- setArtifactId(String) - Method in class ai.djl.repository.Metadata
-
Sets the artifactId.
- setArtifactId(String) - Method in class ai.djl.repository.MRL
-
Sets the artifactId.
- setArtifacts(List<Artifact>) - Method in class ai.djl.repository.Metadata
-
Sets the artifacts for the metadata.
- setBaseAnchor(Anchor) - Method in class ai.djl.repository.MRL
-
Sets the base anchor.
- setBlock(Block) - Method in class ai.djl.repository.zoo.ZooModel
- setChecksum(String) - Method in class ai.djl.repository.Metadata
-
Sets the metadata checksum.
- setDataType(DataType) - Method in class ai.djl.repository.zoo.ZooModel
- setDescription(String) - Method in class ai.djl.repository.Metadata
-
Sets the description.
- setExtension(String) - Method in class ai.djl.repository.Artifact.Item
-
Sets the file extension.
- setFiles(Map<String, Artifact.Item>) - Method in class ai.djl.repository.Artifact
-
Sets the file items.
- setGroupId(String) - Method in class ai.djl.repository.Metadata
-
Sets the groupId.
- setGroupId(String) - Method in class ai.djl.repository.MRL
-
Sets the groupId.
- setLastUpdated(Date) - Method in class ai.djl.repository.Metadata
-
Sets the last update date for the metadata.
- setMetadata(Metadata) - Method in class ai.djl.repository.Artifact
-
Sets the associated metadata.
- setMetadataVersion(String) - Method in class ai.djl.repository.Artifact
-
Sets the metadata format version.
- setMetadataVersion(String) - Method in class ai.djl.repository.Metadata
-
Sets the metadata format version.
- setName(String) - Method in class ai.djl.repository.Artifact.Item
-
Sets the item name.
- setName(String) - Method in class ai.djl.repository.Artifact
-
Sets the artifact name.
- setName(String) - Method in class ai.djl.repository.Metadata
-
Sets the metadata-level name.
- setPrepared(boolean) - Method in interface ai.djl.repository.dataset.ZooDataset
-
Sets if the dataset has been prepared.
- setProperties(LinkedHashMap<String, String>) - Method in class ai.djl.repository.Artifact
-
Sets the artifact properties.
- setProperty(String, String) - Method in class ai.djl.repository.zoo.ZooModel
- setRepositoryUri(URI) - Method in class ai.djl.repository.Metadata
-
Sets the repository URI.
- setSha1Hash(String) - Method in class ai.djl.repository.Artifact.Item
-
Sets the sha1hash of the item.
- setSize(long) - Method in class ai.djl.repository.Artifact.Item
-
Sets the file size.
- setSnapshot(boolean) - Method in class ai.djl.repository.Artifact
-
Sets if the artifact is a snapshot.
- setType(String) - Method in class ai.djl.repository.Artifact.Item
-
Sets the type of the item.
- setTypes(Class<P>, Class<Q>) - Method in class ai.djl.repository.zoo.Criteria.Builder
-
Creates a new @{code Builder} class with the specified input and output data type.
- setUri(String) - Method in class ai.djl.repository.Artifact.Item
-
Sets the URI of the item.
- setVersion(String) - Method in class ai.djl.repository.Artifact
-
Sets the artifact version.
- setWebsite(String) - Method in class ai.djl.repository.Metadata
-
Sets the website.
- SimpleRepository - Class in ai.djl.repository
-
A
SimpleRepository is a
Repository containing only a single artifact without
requiring a "metadata.json" file.
- SimpleRepository(Path) - Constructor for class ai.djl.repository.SimpleRepository
-
(Internal) Constructs a SimpleRepository.
- SimpleRepository(String, Path) - Constructor for class ai.djl.repository.SimpleRepository
-
(Internal) Constructs a SimpleRepository.