Skip navigation links
A B C D E F G H I L M N O P R S T U V Z 

A

AbstractRepository - Class in ai.djl.repository
The AbstractRepository is the shared base for implementers of the Repository interface.
AbstractRepository() - Constructor for class ai.djl.repository.AbstractRepository
 
ai.djl.repository - package ai.djl.repository
Contains a Maven-based Repository format for creating repositories of artifacts such as datasets and model zoos.
ai.djl.repository.dataset - package ai.djl.repository.dataset
Contains interfaces for datasets in repositories.
ai.djl.repository.zoo - package ai.djl.repository.zoo
Contains classes for working with model zoo repositories.
Artifact - Class in ai.djl.repository
An Artifact is a set of data files such as a model or dataset.
Artifact() - Constructor for class ai.djl.repository.Artifact
 
Artifact.Item - Class in ai.djl.repository
A file (possibly compressed) within an Artifact.
Artifact.VersionComparator - Class in ai.djl.repository
A Comparator to compare artifacts based on their version numbers.

B

BaseModelLoader<I,O> - Class in ai.djl.repository.zoo
Shared code for the ModelLoader implementations.
BaseModelLoader(Repository, MRL, String) - Constructor for class ai.djl.repository.zoo.BaseModelLoader
Constructs a ModelLoader given the repository, mrl, and version.
build() - Method in class ai.djl.repository.zoo.Criteria.Builder
Builds a Criteria instance.
builder() - Static method in class ai.djl.repository.zoo.Criteria
Creates a builder to build a Criteria.

C

cast(DataType) - Method in class ai.djl.repository.zoo.ZooModel
close() - Method in class ai.djl.repository.zoo.ZooModel
compare(Artifact, Artifact) - Method in class ai.djl.repository.Artifact.VersionComparator
compareTo(Version) - Method in class ai.djl.repository.Version
contains(Version) - Method in class ai.djl.repository.VersionRange
Returns true if a version falls within this range.
contains(Artifact) - Method in class ai.djl.repository.VersionRange
Returns true if the artifact's version falls within this range.
createModel(Device, Artifact, Map<String, Object>) - Method in class ai.djl.repository.zoo.BaseModelLoader
 
Criteria<I,O> - Class in ai.djl.repository.zoo
The Criteria class contains search criteria to look up a ZooModel.
Criteria.Builder<I,O> - Class in ai.djl.repository.zoo
A Builder to construct a Criteria.

D

dataset(Application, String, String) - Static method in class ai.djl.repository.MRL
Creates a dataset MRL with specified application.
describeInput() - Method in class ai.djl.repository.zoo.ZooModel
describeOutput() - Method in class ai.djl.repository.zoo.ZooModel

E

equals(Object) - Method in class ai.djl.repository.Version

F

factories - Variable in class ai.djl.repository.zoo.BaseModelLoader
 

G

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
Returns the ModelLoader based on the model name.
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
Returns the instance of the ModelZoo.
getModelZoo() - Method in interface ai.djl.repository.zoo.ZooProvider
Returns the instance of the ModelZoo.
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
Gets the name of the ModelZoo.
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
Returns the Repository the dataset is found in.
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
 

H

hashCode() - Method in class ai.djl.repository.Version
hasProperties(Map<String, String>) - Method in class ai.djl.repository.Artifact
Returns true if every filter matches the corresponding property.
Hex - Class in ai.djl.repository
Hex is a set of utilities for working with Hexadecimal Strings.

I

isPrepared() - Method in interface ai.djl.repository.dataset.ZooDataset
Returns whether the dataset has been prepared.
isRemote() - Method in class ai.djl.repository.LocalRepository
Returns whether the repository is remote repository.
isRemote() - Method in class ai.djl.repository.RemoteRepository
Returns whether the repository is remote repository.
isRemote() - Method in interface ai.djl.repository.Repository
Returns whether the repository is remote repository.
isRemote() - Method in class ai.djl.repository.SimpleRepository
Returns whether the repository is remote repository.
isSnapshot() - Method in class ai.djl.repository.Artifact
Returns true if the artifact is a snapshot.
isSnapshot() - Method in class ai.djl.repository.Version
Returns true if this is a snapshot version.
Item() - Constructor for class ai.djl.repository.Artifact.Item
 

L

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
Gets the ModelLoader based on the model name.
LocalModelLoader - Class in ai.djl.repository.zoo
A ModelLoader loads a particular ZooModel from a local folder.
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.

M

match(Map<String, String>) - Method in class ai.djl.repository.zoo.BaseModelLoader
Returns the first artifact that matches a given criteria.
matches(List<Artifact>) - Method in class ai.djl.repository.VersionRange
Filters the provided artifacts to those that match the version range.
Metadata - Class in ai.djl.repository
A Metadata is a collection of Artifacts with unified metadata (including MRL) that are stored in the same "metadata.json" file.
Metadata() - Constructor for class ai.djl.repository.Metadata
 
model(Application, String, String) - Static method in class ai.djl.repository.MRL
Creates a model MRL with specified application.
ModelLoader<I,O> - Interface in ai.djl.repository.zoo
A ModelLoader loads a particular ZooModel from a Repository for a model zoo.
ModelNotFoundException - Exception in ai.djl.repository.zoo
/** Thrown when an application tries to load a model from repository search path.
ModelNotFoundException(String) - Constructor for exception ai.djl.repository.zoo.ModelNotFoundException
Constructs a new exception with the specified detail message.
ModelNotFoundException(String, Throwable) - Constructor for exception ai.djl.repository.zoo.ModelNotFoundException
Constructs a new exception with the specified detail message and cause.
ModelNotFoundException(Throwable) - Constructor for exception ai.djl.repository.zoo.ModelNotFoundException
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
ModelZoo - Interface in ai.djl.repository.zoo
An interface represents a collection of models.
MRL - Class in ai.djl.repository
The MRL (Machine learning Resource Locator) is a pointer to a Metadata "resource" on a machine learning Repository.
mrl - Variable in class ai.djl.repository.zoo.BaseModelLoader
 

N

newInstance(String, String) - Static method in interface ai.djl.repository.Repository
Creates a new instance of a repository with a name and url.
newPredictor() - Method in class ai.djl.repository.zoo.ZooModel
Creates a new Predictor based on the model with the default translator.
newPredictor(Translator<P, Q>) - Method in class ai.djl.repository.zoo.ZooModel
newTrainer(TrainingConfig) - Method in class ai.djl.repository.zoo.ZooModel

O

openStream(Artifact.Item, String) - Method in class ai.djl.repository.AbstractRepository
Returns an InputStream for an item in a repository.
openStream(Artifact.Item, String) - Method in interface ai.djl.repository.Repository
Returns an InputStream for an item in a repository.
optApplication(Application) - Method in class ai.djl.repository.zoo.Criteria.Builder
Sets the model application for this criteria.
optArgument(String, Object) - Method in class ai.djl.repository.zoo.Criteria.Builder
Sets the optional model loading argument for this criteria.
optArguments(Map<String, Object>) - Method in class ai.djl.repository.zoo.Criteria.Builder
Sets an extra model loading argument for this criteria.
optArtifactId(String) - Method in class ai.djl.repository.zoo.Criteria.Builder
Sets optional artifactId of the ModelLoader for this criteria.
optDevice(Device) - Method in class ai.djl.repository.zoo.Criteria.Builder
Sets the Device for this criteria.
optEngine(String) - Method in class ai.djl.repository.zoo.Criteria.Builder
Sets the engine name for this criteria.
optFilter(String, String) - Method in class ai.djl.repository.zoo.Criteria.Builder
Sets an extra search filter for this criteria.
optFilters(Map<String, String>) - Method in class ai.djl.repository.zoo.Criteria.Builder
Sets the extra search filters for this criteria.
optGroupId(String) - Method in class ai.djl.repository.zoo.Criteria.Builder
Sets optional groupId of the ModelZoo for this criteria.
optProgress(Progress) - Method in class ai.djl.repository.zoo.Criteria.Builder
Set the optional Progress.
optTranslator(Translator<I, O>) - Method in class ai.djl.repository.zoo.Criteria.Builder
Sets the optional Translator to override default Translator.

P

parse(String) - Static method in class ai.djl.repository.VersionRange
Creates a new version range from a string version range.
prepare(Artifact, Progress) - Method in class ai.djl.repository.AbstractRepository
Prepares the artifact for use with progress tracking.
prepare() - Method in interface ai.djl.repository.dataset.PreparedDataset
Prepares the dataset for use.
prepare(Progress) - Method in interface ai.djl.repository.dataset.PreparedDataset
Prepares the dataset for use with tracked progress.
prepare(Progress) - Method in interface ai.djl.repository.dataset.ZooDataset
Prepares the dataset for use with tracked progress.
prepare(Artifact) - Method in interface ai.djl.repository.Repository
Prepares the artifact for use.
prepare(Artifact, Progress) - Method in interface ai.djl.repository.Repository
Prepares the artifact for use with progress tracking.
prepare(Artifact, Progress) - Method in class ai.djl.repository.SimpleRepository
Prepares the artifact for use with progress tracking.
prepareData(Dataset.Usage) - Method in interface ai.djl.repository.dataset.ZooDataset
Prepares the ZooDataset with the dataset specific behavior.
PreparedDataset - Interface in ai.djl.repository.dataset
A PreparedDataset is a Dataset that requires an additional preparation step before use.

R

RemoteRepository - Class in ai.djl.repository
A RemoteRepository is a Repository located on a remote web server.
RemoteRepository(String, URI) - Constructor for class ai.djl.repository.RemoteRepository
(Internal) Constructs a remote repository.
Repository - Interface in ai.djl.repository
Repository is a format for storing data Artifacts for various uses including deep learning models and datasets.
repository - Variable in class ai.djl.repository.zoo.BaseModelLoader
 
resolve(MRL, String, Map<String, String>) - Method in class ai.djl.repository.LocalRepository
Returns the artifact matching a mrl, version, and property filter.
resolve(MRL, String, Map<String, String>) - Method in class ai.djl.repository.RemoteRepository
Returns the artifact matching a mrl, version, and property filter.
resolve(MRL, String, Map<String, String>) - Method in interface ai.djl.repository.Repository
Returns the artifact matching a mrl, version, and property filter.
resolve(MRL, String, Map<String, String>) - Method in class ai.djl.repository.SimpleRepository
Returns the artifact matching a mrl, version, and property filter.
resolvePath(Artifact.Item, String) - Method in class ai.djl.repository.AbstractRepository
 
resolvePath(Artifact.Item, String) - Method in class ai.djl.repository.SimpleRepository

S

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.

T

toByteArray(String) - Static method in class ai.djl.repository.Hex
Converts a hex string to a byte array.
toHexString(byte[]) - Static method in class ai.djl.repository.Hex
Converts a byte array to a hex string.
toString() - Method in class ai.djl.repository.Artifact
toString() - Method in class ai.djl.repository.MRL
toString() - Method in class ai.djl.repository.Version
toString() - Method in class ai.djl.repository.VersionRange
toString() - Method in class ai.djl.repository.zoo.BaseModelLoader
toURI() - Method in class ai.djl.repository.MRL
Returns the URI to the metadata location (used for Repository implementations).

U

unzip(InputStream, Path) - Static method in class ai.djl.repository.ZipUtils
Unzips an input stream to a given path.
useDefaultArtifact() - Method in interface ai.djl.repository.dataset.ZooDataset
Sets the artifact to the default one.

V

Version - Class in ai.djl.repository
A Version is used for the versioning of an Artifact.
Version(String) - Constructor for class ai.djl.repository.Version
Constructs a version with the version string.
version - Variable in class ai.djl.repository.zoo.BaseModelLoader
 
VersionComparator() - Constructor for class ai.djl.repository.Artifact.VersionComparator
 
VersionRange - Class in ai.djl.repository
A VersionRange is a set of Restrictions that match some Versions.

Z

ZipUtils - Class in ai.djl.repository
Utilities for working with zip files.
ZooDataset - Interface in ai.djl.repository.dataset
A Dataset whose data is found in the dataset zoo of a Repository.
ZooModel<I,O> - Class in ai.djl.repository.zoo
A ZooModel is a Model loaded from a model zoo and includes a default Translator.
ZooModel(Model, Translator<I, O>) - Constructor for class ai.djl.repository.zoo.ZooModel
Constructs a ZooModel given the model and translator.
ZooProvider - Interface in ai.djl.repository.zoo
The ZooProvider is a service provider that enables ServiceLoader to locate and load at the run time.
ZooProviderNotFoundException - Exception in ai.djl.repository.zoo
Runtime exception thrown when a provider of the required type cannot be found.
ZooProviderNotFoundException(String) - Constructor for exception ai.djl.repository.zoo.ZooProviderNotFoundException
Constructs a new exception with the specified detail message.
ZooProviderNotFoundException(String, Throwable) - Constructor for exception ai.djl.repository.zoo.ZooProviderNotFoundException
Constructs a new exception with the specified detail message and cause.
ZooProviderNotFoundException(Throwable) - Constructor for exception ai.djl.repository.zoo.ZooProviderNotFoundException
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
A B C D E F G H I L M N O P R S T U V Z 
Skip navigation links