Tensorflow_introduction
course 2
error as follows.
Hi @rasgulla.c
This error is in the implementation of function one_hot_matrix as you first should doing one tf.one_hot( indices, depth,axis) this resource will help you tf.one_hot | TensorFlow v2.10.0
after that you should reshape you matrix tf.reshape( tensor,[ shape]) … this resource will aslo help you tf.reshape | TensorFlow v2.10.0
please feel free to ask any questions,
Thanks,
Abdelrahman