ToEltype
struct
defined in module
DataAugmentation
ToEltype(T)
Converts any
AbstractArrayItem
to an
AbstractArrayItem{N, T}
.
Supports
apply!
.
using
DataAugmentation
tfm
=
ToEltype
(
Float32
)
item
=
ArrayItem
(
rand
(
Int
,
10
)
)
apply
(
tfm
,
item
)
ArrayItem{1, Float32}() of size (10,)
There is
1
method for DataAugmentation.ToEltype
: