I'm trying:
target = keras.utils.to_categorical([0], num_classes)
This is giving me:
[[1. 0. 0. 0. 0. 0. 0. 0. 0. 0.]]
What I want to do, however, is create something like:
[
[1. 0. 0. 0. 0. 0. 0. 0. 0. 0.],
[1. 0. 0. 0. 0. 0. 0. 0. 0. 0.],
[1. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
...
[1. 0. 0. 0. 0. 0. 0. 0. 0. 0.],
[1. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
]
where it will have 10,000 rows.