Autoencoder
LitAutoEncoder
Bases: LightningModule
A simple autoencoder model.
Source code in src/uv_datascience_project_template/lit_auto_encoder.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
|
configure_optimizers()
Configure the Adam optimizer.
Source code in src/uv_datascience_project_template/lit_auto_encoder.py
29 30 31 32 |
|
training_step(batch, batch_idx)
Training step that defines the train loop.
Training_step defines the train loop, it is independent of forward.
Source code in src/uv_datascience_project_template/lit_auto_encoder.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|