.FastAIOneHotTensor

struct defined in module FastAI


			OneHotTensor{N, T}(classes) <: Block

A block representing a one-hot encoded, N-dimensional array categorical variable. For example, a single categorical label is a OneHotTensor{0, T} (aliased to OneHotTensor{T}).

Use the OneHot encoding to one-hot encode Labels or LabelMultis.