Compose<T>

Models & Types · AiDotNet.Data.Transforms

Chains multiple transforms of the same type into a single transform.

Implements: ITransform<T, T>

For Beginners

Compose lets you combine multiple transforms into one. Instead of applying each transform separately, you create a pipeline:

Constructors

Constructor Summary
Compose(IEnumerable<ITransform<T, T>> transforms) Creates a composed transform from an enumerable of transforms.
Compose(ITransform<T, T>[] transforms) Creates a composed transform from an enumerable of transforms.

Properties

Property Summary
int Count { get; } Gets the number of transforms in this composition.

Methods

Method Summary
T Apply(T input)