Option to Disable `Compose` list/tuple Expansion
Is your feature request related to a problem? Please describe.
Here Compose will expand any data item which is a list or tuple and apply transforms individually to each element. This is used when a transform produces multiple outputs. This isn't always wanted if one wants to pass something iterable to transform as-is.
Describe the solution you'd like
A constructor argument to Compose to disable this behaviour.
Describe alternatives you've considered Data needs to be wrapped as a dictionary or something not a list/tuple to route around this issue.
Additional context This is using transforms for data processing rather than training so a somewhat niche use case.
Look like the similar request with this one: https://github.com/Project-MONAI/MONAI/issues/7565