Kyubyong/tensorflow-exercises

Typo error. Please fix it in Tensor Transformation Solutions

dixiematt8 opened this issue · 0 comments

X = tf.constant([[0, 5, 3], [4, 2, 1]])
out = tf.one_hot(x, 6)
print(out.eval())

to

X = tf.constant([[0, 5, 3], [4, 2, 1]])
out = tf.one_hot(X, 6)
print(out.eval())