ple: .. testcode:: from torch.jit.mobile import _get_mobile_model_contained_types # Get type list from a saved file path type_list = _get_mobile_model_contained_types("path/to/model.ptl") r/