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