Answer Posted / Amit Agarwal
Yes, the tf.one_hot() function in TensorFlow is used for converting categorical data (e.g., labels) into a format that a neural network can understand. It creates an array where each possible category is represented by a binary vector.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers