Fills the given ``tensor`` with scalar value `0`. Args: tensor: tensor to be initialized.
(tensor: Tensor)
| 21 | |
| 22 | |
| 23 | def zeros_(tensor: Tensor) -> None: |
| 24 | """Fills the given ``tensor`` with scalar value `0`. |
| 25 | |
| 26 | Args: |
| 27 | tensor: tensor to be initialized. |
| 28 | """ |
| 29 | fill_(tensor, 0) |
| 30 | |
| 31 | |
| 32 | def ones_(tensor: Tensor) -> None: |
no test coverage detected