You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe. HereCompose 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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: