export_to_protobuf

ketos.neural_networks.dev_utils.export.export_to_protobuf(model, output_name, **kwargs)[source]

Export a ketos model to Protobuf format (*.pb).

See also the related fuction export_to_ketos_protobuf().

Note that the model must be built before it can be saved.

Args:
model:

The ketos model to be exported. Usually created by one of the Interface classes found in ketos.neural_networks (e.g.: ResNetInterface)

output_name: str

Folder where the exported model will be saved