Hi all,
i am faceing some issues with the function “one_hot_matrix” in
TensorFlow Introduction | Coursera.
I am able to implement the function and to pass all tests but the evaluation of of “new_y_test = y_test.map(one_hot_matrix)” gets me the following error and i don’t know how to solve this.
“ValueError: Shape must be rank 1 but is rank 0 for ‘{{node Reshape}} = Reshape[T=DT_FLOAT, Tshape=DT_INT32](one_hot, Reshape/shape)’ with input shapes: [6], .”