OneHot

struct defined in module FastAI


			OneHot()
OneHot(T, threshold)

Encoding that turns categorical labels into one-hot encoded arrays of type T.

Encodes


			      `Mask{N, U}` -> `OneHotTensor{N, T}`
`LabelMulti{N, U}` -> `OneHotTensorMulti{N, T}`
        `Label{U}` -> `OneHotTensor{N, T}`