Hi @castarco
Refer the below comment to resolve your issue. your issue first exist in the line_to_tensor grader cell, check if you correctly convert the chars to tensor using the correct tf function.
Hello @Siddhartha_Dey
THINGS TO CHECK BASED ON YOUR ERROR:
Hoping you have same output as expected output for line_to_tensor grader cell and have passed w1_unittest.test_line_to_tensor(line_to_tensor) (MAKE SURE YOU HAVE APPLIED THE RIGHT DATA TYPE TO CODE LINE chars)
You can verify the above code with the cell mentioned under
1.3 - Convert a Line to Tensor
where it shows what type of datatype need to be used)
Next in the create_batch_dataset,
Make sure the below code line is recalled c…
Let me know if you still want any assistance.
Regards
DP