[Solved]: No OpKernel was registered to support Op 'CudnnRNNParamsToCanonical' with these attrs. Registered devices: [CPU], Registered kernels: on Kaggle

Note that CudnnLSTM is a GPU-only operation (it depends on CuDNN) – so the error makes sense since the graph was constructed in a non-portable way.

in Kaggle turn on GPU:

On the right sidebar, go down and turn on GPU