lightning/pytorch_lightning/accelerators
Akihiro Nitta b45b57cc58
Use `Optional` for arguments set to `None` by default (#4164)
* Use `Optional` for variables set to `None` by default

* Use `Optional` instead of `Union[None, ...]` for consistency
2020-10-15 23:02:50 +02:00
..
__init__.py notices (#4118) 2020-10-13 07:18:07 -04:00
accelerator.py Use `Optional` for arguments set to `None` by default (#4164) 2020-10-15 23:02:50 +02:00
accelerator_connector.py notices (#4118) 2020-10-13 07:18:07 -04:00
cpu_accelerator.py ref: accelerator names (#4066) 2020-10-11 01:05:14 -04:00
ddp2_accelerator.py Use `Optional` for arguments set to `None` by default (#4164) 2020-10-15 23:02:50 +02:00
ddp_accelerator.py Use `Optional` for arguments set to `None` by default (#4164) 2020-10-15 23:02:50 +02:00
ddp_cpu_slurm_accelerator.py Use `Optional` for arguments set to `None` by default (#4164) 2020-10-15 23:02:50 +02:00
ddp_cpu_spawn_accelerator.py Use `Optional` for arguments set to `None` by default (#4164) 2020-10-15 23:02:50 +02:00
ddp_cpu_torchelastic_accelerator.py Use `Optional` for arguments set to `None` by default (#4164) 2020-10-15 23:02:50 +02:00
ddp_slurm_accelerator.py ref: accelerator names (#4066) 2020-10-11 01:05:14 -04:00
ddp_spawn_accelerator.py Use `Optional` for arguments set to `None` by default (#4164) 2020-10-15 23:02:50 +02:00
ddp_torchelastic_accelerator.py Use `Optional` for arguments set to `None` by default (#4164) 2020-10-15 23:02:50 +02:00
dp_accelerator.py ref: accelerator names (#4066) 2020-10-11 01:05:14 -04:00
gpu_accelerator.py ref: accelerator names (#4066) 2020-10-11 01:05:14 -04:00
horovod_accelerator.py Use `Optional` for arguments set to `None` by default (#4164) 2020-10-15 23:02:50 +02:00
tpu_accelerator.py Use `Optional` for arguments set to `None` by default (#4164) 2020-10-15 23:02:50 +02:00