Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/source/transforms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ Generic Interfaces
.. autoclass:: Decollated
:members:

`OneOf`
^^^^^^^
.. autoclass:: OneOf
:members:

Vanilla Transforms
------------------

Expand Down
2 changes: 1 addition & 1 deletion monai/transforms/compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class OneOf(Compose):
weights: probabilities corresponding to each callable in transforms.
Probabilities are normalized to sum to one.

OneOf inherits from Compose and uses args map_items and unpack_items in
``OneOf`` inherits from ``Compose`` and uses args ``map_items`` and ``unpack_items`` in
the same way.
"""

Expand Down