rxn.onmt_utils.model_introspection.get_model_dropout

rxn.onmt_utils.model_introspection.get_model_dropout(model_path)[source]

Get the value of the dropout for the given model checkpoint.

Parameters

model_path (Union[str, PathLike]) – model checkpoint, such as model_step_100000.pt.

Return type

float