Package com.spotify.zoltar
Interface Model<UnderlyingT>
-
- Type Parameters:
UnderlyingT
- the underlying type of the model.
- All Superinterfaces:
AutoCloseable
public interface Model<UnderlyingT> extends AutoCloseable
Model interface. In most cases you can just use the prebaked implementations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Model.Id
value class to define model id.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Model.Id
id()
UnderlyingT
instance()
Returns an instance of the underlying model.-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
id
Model.Id id()
-
instance
UnderlyingT instance()
Returns an instance of the underlying model. This could be for example TensorFlow's graph, session or XGBoost's booster.
-
-