Pytorch-lightning: We need more detailed comments.

Created on 23 Aug 2019  路  2Comments  路  Source: PyTorchLightning/pytorch-lightning

Is your feature request related to a problem? Please describe.

I'm always frustrated when I do not know the meaning of the parameter. We need more detailed comments, otherwise it is not convenient for developers.

like these code:

https://github.com/williamFalcon/pytorch-lightning/blob/master/pytorch_lightning/models/trainer.py#L86-L115

Describe the solution you'd like

Like PyTorch, every function and every parameter, they all have corresponding comments.

Describe alternatives you've considered

More frequent search in documents. :tired_face:

Additional context

image

I use the PyCharm, I am used to using ctrl-q to view function documentation... So I think this requirement is very important, and certainly other users have considered similar issues.

enhancement help wanted

All 2 comments

@lartpang good suggestion. will document functions inline

@lartpang this was merged a bit ago. Please check to make sure it's what you meant

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anthonytec2 picture anthonytec2  路  3Comments

maxime-louis picture maxime-louis  路  3Comments

chuong98 picture chuong98  路  3Comments

DavidRuhe picture DavidRuhe  路  3Comments

remisphere picture remisphere  路  3Comments