Dear All.
I am posing this question since I can’t understand how to interpret it:
In the Exercise 3 - one_hot_matrix, one must reshape the tensor, using the one_hot_encoded values previously, and then reshapping those. If we are asked clearly on the commented section of that assignment that:
“Returns: one_hot – tf.Tensor A single-column matrix with the one hot encoding.”
I got my answer right, but I have a “no column” tensor:
“Test 1: tf.Tensor([0. 1. 0. 0.], shape=(4,), dtype=float32)
Test 2: tf.Tensor([0. 0. 1. 0.], shape=(4,), dtype=float32)
All test passed”
Isn’t this contradicting the instructions that we have on building the on_hot_encoding?
Kind Regards.
Ricardo