esem.model_adaptor.KerasModel¶
- class esem.model_adaptor.KerasModel(model)¶
A wrapper around Keras models
- __init__(model)¶
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(model)Initialize self.
predict(*args, **kwargs)This is either the tf model which can be called directly, or a generator over the model.predict (in tf, so it’s quick).
train(training_params, training_data[, …])Train the Keras model.