applied(to:upsampledBy:)
Applies an augmentation repeatedly to an array of inputs.
Declaration
func applied<C, Annotation>(to elements: C, upsampledBy count: Int) -> UpsampledAugmentationSequence<C, RandomTransformer, RandomNumberGenerator, Annotation> where C : Collection, Annotation : Equatable, C.Element == AnnotatedFeature<RandomTransformer.Input, Annotation>Parameters
- elements:
A collection of elements to augment.
- count:
The number of times to shuffle and augment the input elements. Must be at least one.
Mentioned in
Return Value
A sequence of augmented elements having count times the number of elements in the input collection.