Add missing docstrings to public ViewTransform classes
14 public view-transform classes have no docstring:
SimCLRViewTransformBYOLView1Transform,BYOLView2TransformDINOViewTransformIBOTViewTransformMSNViewTransformSimSiamViewTransformSwaVViewTransformSmoGViewTransformVICRegViewTransform,VICRegLViewTransformFDAView1Transform,FDAView2TransformDetConSViewTransform
All are exported from lightly.transforms and rendered by autodoc in docs/source/lightly.transforms.rst, so they currently show up in the docs without any description.
I'd like to add Google-style docstrings mirroring each parent transform's docstring (same Attributes: section, since the parameters are identical), split into ~4 PRs grouped by method family so reviews stay small. First PR (SimCLR only) is ready and can serve as the format pilot — happy to adjust the format there before doing the remaining classes.
Perfect, we're very happy to receive those!
A docs fix here would be more useful if it includes a minimal, copy-pasteable example for “Add missing docstrings to public ViewTransform classes” rather than only describing the behavior. A short verification step would also help users tell whether SimCLRViewTransform is configured correctly or they are hitting a separate environment problem.
Hi I agree @hiSandog! However, this issue was actually completely worked through by @saud5150 already anyway, so I will skip adding it now and close it. 🙂