Files
pytorch/docs/source
Rodrigo Berriel f0ada4bd54 [docs] Remove .data from some docs (#65358)
Summary:
Related to https://github.com/pytorch/pytorch/issues/30987. Fix the following task:

- [ ] Remove the use of `.data` in all our internal code:
  - [ ] ...
  - [x] `docs/source/scripts/build_activation_images.py` and `docs/source/notes/extending.rst`

In `docs/source/scripts/build_activation_images.py`, I used `nn.init` because the snippet already assumes `nn` is available (the class inherits from `nn.Module`).

cc albanD

Pull Request resolved: https://github.com/pytorch/pytorch/pull/65358

Reviewed By: malfet

Differential Revision: D31061790

Pulled By: albanD

fbshipit-source-id: be936c2035f0bdd49986351026fe3e932a5b4032
2021-09-21 06:32:31 -07:00
..
2021-09-03 06:12:24 -07:00
2020-11-29 23:57:06 -08:00
2020-05-14 16:02:01 -07:00
2021-03-30 13:09:52 -07:00
2021-07-15 15:20:18 -07:00
2021-05-20 10:32:18 -07:00
2021-03-30 13:09:52 -07:00