rxn.onmt_utils.strip_model

Functions

strip_model(model_in, model_out)

Strip the optim data of the given OpenNMT model.