Hi Frank,
Sorry for not being clear with my question and thanks a ton for explaining everything in depth. What you interpreted from my question is exactly what I wanted to convey. And yes, you answered my question. Instead of using one-hot encoding I used integer class labels and it worked. I’ll make sure to be clear with my question from my next post.
Again, Thank you!!