User guide (TODO)

Library

Projective transformations

Preprocessing

Reference

public ToEltypeparametric type

ToEltype(T)

Converts any AbstractArrayItem to an AbstractArrayItem{N, T}.

Supports apply!.

Examples

using DataAugmentation

tfm = ToEltype(Float32)
item = ArrayItem(rand(Int, 10))
apply(tfm, item)
ArrayItem{1, Float32}() of size (10,)