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
Dataset classes in tonic have a transforms parameter, which allows passing callables that are applied to both data and labels, as opposed to transform which is only applied to the data.
It seems that composition with the Compose class is currently only possible for transform-type functions that only change the data. This could be fixed easily by changing the events parameter in the call method to *events and adapting the function code accordingly.
The text was updated successfully, but these errors were encountered:
Dataset
classes in tonic have atransforms
parameter, which allows passing callables that are applied to both data and labels, as opposed totransform
which is only applied to the data.It seems that composition with the
Compose
class is currently only possible fortransform
-type functions that only change the data. This could be fixed easily by changing theevents
parameter in the call method to*events
and adapting the function code accordingly.The text was updated successfully, but these errors were encountered: