Turi Create
4.0
|
#include <toolkits/style_transfer/st_model_trainer.hpp>
Public Member Functions | |
virtual std::unique_ptr< ModelTrainer > | CreateModelTrainer () const =0 |
virtual neural_net::model_spec | ExportToCoreML () const =0 |
A representation of all the parameters needed to reconstruct a model.
Definition at line 166 of file st_model_trainer.hpp.
|
pure virtual |
Loads the checkpoint into an active ModelTrainer instance.
Implemented in turi::style_transfer::ResNet16Checkpoint.
|
pure virtual |
Returns the CoreML spec corresponding to the current model.
The first layer of the model should have a single input: the image to stylize. The last layer of the model should have a single output: the stylized image.
Implemented in turi::style_transfer::ResNet16Checkpoint.