get_model_weights torchvision.models.get_model_weights(name: Union[Callable, str]) → type[torchvision.models._api.WeightsEnum][source]