hasktorch-zoo-0.0.1.0: Neural architectures in hasktorch
Torch.Data.OneHot
onehot :: forall i c. (Integral i, Ord c, Bounded c, Enum c) => c -> [i] Source #
onehotf :: forall i c. (Fractional i, Ord c, Bounded c, Enum c) => c -> [i] Source #