Package ai.djl.repository.zoo
Contains classes for working with model zoo repositories.
-
Interface Summary Interface Description ModelLoader A ModelLoader loads a particularZooModelfrom a Repository for a model zoo.ZooProvider TheZooProvideris a service provider that enablesServiceLoaderto locate and load at the run time. -
Class Summary Class Description BaseModelLoader Shared code for theModelLoaderimplementations.Criteria<I,O> TheCriteriaclass contains search criteria to look up aZooModel.Criteria.Builder<I,O> A Builder to construct aCriteria.DefaultModelZoo AModelZoothat contains models in specified locations.DefaultZooProvider AnZooProviderimplementation 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.