Hello @skinx.learning
Two corrections required.
- first correction in GRADED FUNCTION: line_to_tensor
Below code line is recalled incorrectly
Split the input line into individual characters
Kindly use this image to make the correction
- Second error the way shuffling is recalled by you is incorrect, please refer the below link to make the correction
#Assemble the final dataset with shuffling, batching, and prefetching
https://www.tensorflow.org/api_docs/python/tf/data/Dataset#shuffle
Make sure you assign the value to the buffer size assigned as 10000 and use reshuffle_each_iteration as true
Regards
DP