Convert int into one-hot format

Thanks for advice, I have seen such solution in the examples branch. However, I use such y as input, so that can’t solve my case.

1 Like