Skip to content

#158: Fix one-hot-encoding layer

Alessandro Maissen requested to merge 158-fix-onehot-encoding into master

-When a single samples was passed through the categorical head, it dropped the batch dimension. We need a squeeze before calling F.one_hot

Closes #158 (closed)

Merge request reports

Loading