scan
ing or similar over a list of functions
#12130
-
Lets assume we have a list of functions (like data augmentation functions for example) in which all transformations are applied to the output of the previous function in a sequential way. Something like:
I was wondering if there is a way to speed up this beyond Thank you very much in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It is only possible to scan over a list of values, not over a list of functions. The best way to achieve what you have in mind is likely with a |
Beta Was this translation helpful? Give feedback.
It is only possible to scan over a list of values, not over a list of functions. The best way to achieve what you have in mind is likely with a
for
loop, as you used in your example above.