Summary
Better to save the setting provided in the training input script to the model, so a user can get all the training hyper parameter from the frozen model, i.e. ".pb" file. If it is implemented, the model compression will not need the original input script anymore.
Detailed Description
One can serialize a dict to a string by using pickle, see here. The string can be saved in the model.
Further Information, Files, and Links