03/08/2022, 1:11 PM
How do you guys handle outputting a variable number of outputs? For example, I want to write a leave-one-out cross validation split node that accepts as input a data set and a cross validation configuration (containing indexes where to split) and outputs, for each fold, a train/validation split. Each of these inputs should then be fed into a subsequent node that does inference. The "tricky" thing here I think is that the amount of folds varies depending on the dataset.