utils
default_optimizer_tuple()
¶
Returns:
Type | Description |
---|---|
Tuple[torch.optim.Optimizer, Dict[str, Any]]
|
A tuple to be passed into an Optimizers container. The tuple specifies an Adam optimizer with lr 0.0001. |
Source code in pytorch_adapt\adapters\utils.py
7 8 9 10 11 12 13 |
|