list_models¶
- torchvision.models.list_models(module: Optional[module] = None) List[str] [source]¶
Returns a list with the names of registered models.
Warning
The function is in Beta stage, and backward compatibility is not guaranteed.
- Parameters:
module (ModuleType, optional) – The module from which we want to extract the available models.
- Returns:
A list with the names of available models.
- Return type:
models (list)