Package ai.djl.repository.zoo
package ai.djl.repository.zoo
Contains classes for working with model zoo repositories.
-
ClassDescriptionShared code for the
ModelLoader
implementations.Criteria<I,O> TheCriteria
class contains search criteria to look up aZooModel
.Criteria.Builder<I,O> A Builder to construct aCriteria
.AModelZoo
that contains models in specified locations.AnZooProvider
implementation can load models from specified locations.A ModelLoader loads a particularZooModel
from a Repository for a model zoo.Thrown when an application tries to load a model from repository search path.An interface represents a collection of models.An interface that resolves external ModelZoo.ZooModel<I,O> TheZooProvider
is a service provider that enablesServiceLoader
to locate and load at the run time.Runtime exception thrown when a provider of the required type cannot be found.