Repository: pytorch
Issue: Fix docstring errors in _VF.py, _appdirs.py, hub.py, _classes.py, _storage_docs.py, _linalg_utils.py, torch_version.py, quasirandom.py, random.py, __future__.py, _lowrank.py, _vmap_internals.py, _sources.py, __config__.py, _lobpcg.py, _namedtensor_internals.py
Labels: module: docs,triaged,medium,docathon-h2-2023

Please fix the following issues. To test locally, run: 
 ```
pydocstyle path-to-file --count
```
Run this command before and after fixing the errors. This command prints out the number of errors at the end of the output. Paste the output to your PR description with the number before and after. 
- **File**: `torch/__config__.py`, **Entity**: `show`, **Line**: 5, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/__config__.py`, **Entity**: `show`, **Line**: 5, **Description**: First line should end with a period (not 'e')
- **File**: `torch/__config__.py`, **Entity**: `_cxx_flags`, **Line**: 16, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **File**: `torch/__config__.py`, **Entity**: `parallel_info`, **Line**: 21, **Description**: First line should end with a period (not 's')
- **File**: `torch/__config__.py`, **Entity**: `parallel_info`, **Line**: 21, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **File**: `torch/__future__.py`, **Entity**: ``, **Line**: 1, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/__future__.py`, **Entity**: ``, **Line**: 1, **Description**: First line should end with a period (not 's')
- **File**: `torch/_appdirs.py`, **Entity**: ``, **Line**: 8, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/_appdirs.py`, **Entity**: ``, **Line**: 8, **Description**: First line should end with a period (not 'm')
- **File**: `torch/_appdirs.py`, **Entity**: `_get_win_folder_from_registry`, **Line**: 501, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/_appdirs.py`, **Entity**: `_get_win_folder_from_registry`, **Line**: 501, **Description**: First line should end with a period (not 'e')
- **File**: `torch/_appdirs.py`, **Entity**: `_get_win_folder_from_registry`, **Line**: 501, **Description**: First line should be in imperative mood; try rephrasing (found 'This')
- **File**: `torch/_lowrank.py`, **Entity**: ``, **Line**: 1, **Description**: One-line docstring should fit on one line with quotes (found 2)
- **File**: `torch/_lowrank.py`, **Entity**: `get_approximate_basis`, **Line**: 17, **Description**: No blank lines allowed after function docstring (found 1)
- **File**: `torch/_lowrank.py`, **Entity**: `get_approximate_basis`, **Line**: 17, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/_lowrank.py`, **Entity**: `get_approximate_basis`, **Line**: 17, **Description**: First line should end with a period (not 'h')
- **File**: `torch/_lowrank.py`, **Entity**: `svd_lowrank`, **Line**: 90, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/_lowrank.py`, **Entity**: `svd_lowrank`, **Line**: 90, **Description**: First line should end with a period (not ',')
- **File**: `torch/_lowrank.py`, **Entity**: `pca_lowrank`, **Line**: 194, **Description**: No blank lines allowed after function docstring (found 1)
- **File**: `torch/_lowrank.py`, **Entity**: `pca_lowrank`, **Line**: 194, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/_lowrank.py`, **Entity**: `pca_lowrank`, **Line**: 194, **Description**: First line should end with a period (not 'k')
- **File**: `torch/_lowrank.py`, **Entity**: `pca_lowrank`, **Line**: 194, **Description**: First line should be in imperative mood (perhaps 'Perform', not 'Performs')
- **File**: `torch/_lowrank.py`, **Entity**: `pca_lowrank`, **Line**: 194, **Description**: No blank lines allowed between a section header and its content ('Args')
- **File**: `torch/_storage_docs.py`, **Entity**: ``, **Line**: 1, **Description**: First line should end with a period (not 's')
- **File**: `torch/torch_version.py`, **Entity**: `_LazyImport`, **Line**: 7, **Description**: 1 blank line required after class docstring (found 0)
- **File**: `torch/torch_version.py`, **Entity**: `_LazyImport`, **Line**: 7, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/torch_version.py`, **Entity**: `_LazyImport`, **Line**: 7, **Description**: First line should end with a period (not 'n')
- **File**: `torch/torch_version.py`, **Entity**: `TorchVersion`, **Line**: 42, **Description**: 1 blank line required after class docstring (found 0)
- **File**: `torch/torch_version.py`, **Entity**: `TorchVersion`, **Line**: 42, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/torch_version.py`, **Entity**: `TorchVersion`, **Line**: 42, **Description**: First line should end with a period (not '!')
- **File**: `torch/_VF.py`, **Entity**: ``, **Line**: 1, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/_VF.py`, **Entity**: ``, **Line**: 1, **Description**: First line should end with a period (not 's')
- **File**: `torch/_classes.py`, **Entity**: `load_library`, **Line**: 34, **Description**: First line should be in imperative mood (perhaps 'Load', not 'Loads')
- **File**: `torch/_linalg_utils.py`, **Entity**: ``, **Line**: 1, **Description**: One-line docstring should fit on one line with quotes (found 3)
- **File**: `torch/_linalg_utils.py`, **Entity**: `is_sparse`, **Line**: 12, **Description**: First line should end with a period (not 'r')
- **File**: `torch/_lobpcg.py`, **Entity**: ``, **Line**: 1, **Description**: One-line docstring should fit on one line with quotes (found 2)
- **File**: `torch/_lobpcg.py`, **Entity**: `_polynomial_value`, **Line**: 75, **Description**: No blank lines allowed after function docstring (found 1)
- **File**: `torch/_lobpcg.py`, **Entity**: `_polynomial_value`, **Line**: 75, **Description**: First line should be in imperative mood; try rephrasing (found 'A')
- **File**: `torch/_lobpcg.py`, **Entity**: `_matrix_polynomial_value`, **Line**: 106, **Description**: No blank lines allowed after function docstring (found 1)
- **File**: `torch/_lobpcg.py`, **Entity**: `_matrix_polynomial_value`, **Line**: 106, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/_lobpcg.py`, **Entity**: `_matrix_polynomial_value`, **Line**: 106, **Description**: First line should be in imperative mood (perhaps 'Evaluate', not 'Evaluates')
- **File**: `torch/_lobpcg.py`, **Entity**: `_vector_polynomial_value`, **Line**: 126, **Description**: No blank lines allowed after function docstring (found 1)
- **File**: `torch/_lobpcg.py`, **Entity**: `_vector_polynomial_value`, **Line**: 126, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/_lobpcg.py`, **Entity**: `_vector_polynomial_value`, **Line**: 126, **Description**: First line should be in imperative mood (perhaps 'Evaluate', not 'Evaluates')
- **File**: `torch/_lobpcg.py`, **Entity**: `lobpcg`, **Line**: 362, **Description**: No blank lines allowed after function docstring (found 1)
- **File**: `torch/_lobpcg.py`, **Entity**: `lobpcg`, **Line**: 362, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/_lobpcg.py`, **Entity**: `lobpcg`, **Line**: 362, **Description**: First line should end with a period (not 'g')
- **File**: `torch/_lobpcg.py`, **Entity**: `lobpcg`, **Line**: 362, **Description**: No blank lines allowed between a section header and its content ('Returns')
- **File**: `torch/_lobpcg.py`, **Entity**: `lobpcg`, **Line**: 362, **Description**: No blank lines allowed between a section header and its content ('References')
- **File**: `torch/_lobpcg.py`, **Entity**: `update_converged_count`, **Line**: 776, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/_lobpcg.py`, **Entity**: `update_converged_count`, **Line**: 776, **Description**: First line should end with a period (not 'e')
- **File**: `torch/_lobpcg.py`, **Entity**: `_update_basic`, **Line**: 851, **Description**: One-line docstring should fit on one line with quotes (found 3)
- **File**: `torch/_lobpcg.py`, **Entity**: `_update_ortho`, **Line**: 894, **Description**: One-line docstring should fit on one line with quotes (found 3)
- **File**: `torch/_lobpcg.py`, **Entity**: `_get_rayleigh_ritz_transform`, **Line**: 945, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/_lobpcg.py`, **Entity**: `_get_rayleigh_ritz_transform`, **Line**: 945, **Description**: First line should end with a period (not 'z')
- **File**: `torch/_lobpcg.py`, **Entity**: `_get_svqb`, **Line**: 1003, **Description**: No blank lines allowed between a section header and its content ('Returns')
- **File**: `torch/_lobpcg.py`, **Entity**: `_get_ortho`, **Line**: 1064, **Description**: No blank lines allowed between a section header and its content ('Returns')
- **File**: `torch/_namedtensor_internals.py`, **Entity**: `build_dim_map`, **Line**: 19, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/_namedtensor_internals.py`, **Entity**: `build_dim_map`, **Line**: 19, **Description**: Multi-line docstring closing quotes should be on a separate line
- **File**: `torch/_namedtensor_internals.py`, **Entity**: `build_dim_map`, **Line**: 19, **Description**: First line should end with a period (not 'd')
- **File**: `torch/_namedtensor_internals.py`, **Entity**: `build_dim_map`, **Line**: 19, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **File**: `torch/_namedtensor_internals.py`, **Entity**: `resolve_ellipsis`, **Line**: 75, **Description**: One-line docstring should fit on one line with quotes (found 3)
- **File**: `torch/_namedtensor_internals.py`, **Entity**: `resolve_ellipsis`, **Line**: 75, **Description**: First line should be in imperative mood (perhaps 'Expand', not 'Expands')
- **File**: `torch/_namedtensor_internals.py`, **Entity**: `update_names`, **Line**: 116, **Description**: First line should end with a period (not '
- **File**: `torch/_sources.py`, **Entity**: `get_source_lines_and_file`, **Line**: 15, **Description**: First line should be in imperative mood; try rephrasing (found 'Wrapper')
- **File**: `torch/_sources.py`, **Entity**: `normalize_source_lines`, **Line**: 38, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/_sources.py`, **Entity**: `normalize_source_lines`, **Line**: 38, **Description**: Use r""" if any backslashes in a docstring
- **File**: `torch/_sources.py`, **Entity**: `normalize_source_lines`, **Line**: 38, **Description**: First line should end with a period (not 'e')
- **File**: `torch/_sources.py`, **Entity**: `normalize_source_lines`, **Line**: 38, **Description**: First line should be in imperative mood; try rephrasing (found 'This')
- **File**: `torch/_vmap_internals.py`, **Entity**: `vmap`, **Line**: 194, **Description**: One-line docstring should fit on one line with quotes (found 3)
- **File**: `torch/quasirandom.py`, **Entity**: `SobolEngine`, **Line**: 6, **Description**: 1 blank line required after class docstring (found 0)
- **File**: `torch/quasirandom.py`, **Entity**: `SobolEngine`, **Line**: 6, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/quasirandom.py`, **Entity**: `SobolEngine`, **Line**: 6, **Description**: First line should end with a period (not 'g')
- **File**: `torch/quasirandom.py`, **Entity**: `draw`, **Line**: 73, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/quasirandom.py`, **Entity**: `draw`, **Line**: 73, **Description**: First line should be in imperative mood; try rephrasing (found 'Function')
- **File**: `torch/quasirandom.py`, **Entity**: `draw_base2`, **Line**: 109, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/quasirandom.py`, **Entity**: `draw_base2`, **Line**: 109, **Description**: First line should be in imperative mood; try rephrasing (found 'Function')
- **File**: `torch/quasirandom.py`, **Entity**: `reset`, **Line**: 133, **Description**: One-line docstring should fit on one line with quotes (found 3)
- **File**: `torch/quasirandom.py`, **Entity**: `reset`, **Line**: 133, **Description**: First line should be in imperative mood; try rephrasing (found 'Function')
- **File**: `torch/quasirandom.py`, **Entity**: `fast_forward`, **Line**: 141, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/quasirandom.py`, **Entity**: `fast_forward`, **Line**: 141, **Description**: First line should end with a period (not 'y')
- **File**: `torch/quasirandom.py`, **Entity**: `fast_forward`, **Line**: 141, **Description**: First line should be in imperative mood; try rephrasing (found 'Function')
- **File**: `torch/random.py`, **Entity**: `set_rng_state`, **Line**: 10, **Description**: First line should be in imperative mood (perhaps 'Set', not 'Sets')
- **File**: `torch/random.py`, **Entity**: `get_rng_state`, **Line**: 22, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **File**: `torch/random.py`, **Entity**: `manual_seed`, **Line**: 27, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/random.py`, **Entity**: `manual_seed`, **Line**: 27, **Description**: First line should end with a period (not 'a')
- **File**: `torch/random.py`, **Entity**: `manual_seed`, **Line**: 27, **Description**: First line should be in imperative mood (perhaps 'Set', not 'Sets')
- **File**: `torch/random.py`, **Entity**: `seed`, **Line**: 52, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/random.py`, **Entity**: `seed`, **Line**: 52, **Description**: First line should end with a period (not 'c')
- **File**: `torch/random.py`, **Entity**: `seed`, **Line**: 52, **Description**: First line should be in imperative mood (perhaps 'Set', not 'Sets')
- **File**: `torch/random.py`, **Entity**: `_seed_custom_device`, **Line**: 71, **Description**: First line should be in imperative mood (perhaps 'Set', not 'Sets')
- **File**: `torch/random.py`, **Entity**: `initial_seed`, **Line**: 94, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/random.py`, **Entity**: `initial_seed`, **Line**: 94, **Description**: First line should end with a period (not 'a')
- **File**: `torch/random.py`, **Entity**: `initial_seed`, **Line**: 94, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **File**: `torch/random.py`, **Entity**: `fork_rng`, **Line**: 105, **Description**: No blank lines allowed after function docstring (found 1)
- **File**: `torch/random.py`, **Entity**: `fork_rng`, **Line**: 105, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/random.py`, **Entity**: `fork_rng`, **Line**: 105, **Description**: First line should end with a period (not 't')
- **File**: `torch/hub.py`, **Entity**: `load_state_dict_from_url`, **Line**: 698, **Description**: First line should be in imperative mood (perhaps 'Load', not 'Loads')

cc @carljparker