lightning/pytorch_lightning/core
George b29757da90
Implemented ModelSummary total params values (#4521)
* Implemented ModelSummary total params values

Signed-off-by: George Corrêa de Araújo <george.gcac@gmail.com>

* Fixed documentation, handling modules that are containers for other modules when calculating total params

Signed-off-by: gca <george.gcac@gmail.com>

* Reduced max line length, updated total number of params layout

Signed-off-by: gca <george.gcac@gmail.com>

* Now using only top-level modules of main module to calculate total params

Signed-off-by: gca <george.gcac@gmail.com>

* Added default value for named_modules param in summarize function

Signed-off-by: gca <george.gcac@gmail.com>

* Removed summary function params, removed unused properties

Signed-off-by: gca <george.gcac@gmail.com>

* Changed from np.prod(shape) to numel

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* changelog

* Update pytorch_lightning/core/memory.py

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: chaton <thomas@grid.ai>
Co-authored-by: Nicki Skafte <skaftenicki@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2020-11-22 07:07:52 +01:00
..
__init__.py CI: add flake8 (#4239) 2020-10-19 21:20:17 +01:00
datamodule.py logger docs and api docs (#3950) 2020-11-13 20:35:54 +05:30
decorators.py logger docs and api docs (#3950) 2020-11-13 20:35:54 +05:30
grads.py PyTorch 1.7 Stable support (#3821) 2020-10-30 15:42:14 +00:00
hooks.py logger docs and api docs (#3950) 2020-11-13 20:35:54 +05:30
lightning.py Makes automatic optimization a model attribute (#4602) 2020-11-14 11:13:42 +06:30
memory.py Implemented ModelSummary total params values (#4521) 2020-11-22 07:07:52 +01:00
saving.py allow decorate model init with saving hparams (#4662) 2020-11-16 11:02:26 +01:00
step_result.py logger docs and api docs (#3950) 2020-11-13 20:35:54 +05:30