bitorch.models.model_from_name

bitorch.models.model_from_name(name: str) Type[Model][source]

Return a model by the given name.

Parameters:

name (str) – name of the model

Raises:

ValueError – raised if no model under that name was found

Returns:

the model

Return type:

Model