Issue 1:
I only have one encoder, but it lists 50+ encoder variables in the side bar (see attached). This also happens for my decoder. I presume that it is duplicating the variables for each time step? Notice that it says 500+ inputs!

Also, the graph becomes unwieldy and barely loaded in Safari (crashed in Chrome, wouldn't load in Firefox), and is displayed with a very long list of variable names (see attached).

Issue 2:
Error Message

UnknownError: Fail to find the dnn implementation.

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Pop!_OS 19.04

TensorFlow installed from (source or binary): jupyter

TensorFlow version (use command below): !pip install tensorflow-gpu

Python version: 3.7.3

CUDA/cuDNN version: 10.0, cudnn 7.4.5.1

GPU model and memory: See below RTX 2070 Max-q

[I 21:20:12.056 LabApp] Saving file at /Downloads/text_classification_rnn.ipynb

[W 21:20:12.057 LabApp] Notebook Downloads/text_classification_rnn.ipynb is not trusted

[I 21:21:07.912 LabApp] Kernel interrupted: fe30308a-41da-4a83-8fa9-93bf6c87fb6c

[I 21:22:12.102 LabApp] Saving file at /Downloads/text_classification_rnn.ipynb

[W 21:22:12.103 LabApp] Notebook Downloads/text_classification_rnn.ipynb is not trusted

2019-05-25 21:22:15.359388: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1546] Adding visible gpu devices: 0

2019-05-25 21:22:15.359425: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1015] Device interconnect StreamExecutor with strength 1 edge matrix:

2019-05-25 21:22:15.359432: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1021] 0

2019-05-25 21:22:15.359436: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1034] 0: N

2019-05-25 21:22:15.359592: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1149] Created TensorFlow device (/device:GPU:0 with 6704 MB memory) -> physical GPU (device: 0, name: GeForce RTX 2070 with Max-Q Design, pci bus id: 0000:01:00.0, compute capability: 7.5)

2019-05-25 21:22:19.514494: W ./tensorflow/core/framework/model.h:202] Encountered a stop event that was not preceded by a start event.

2019-05-25 21:22:20.872486: E tensorflow/stream_executor/cuda/cuda_dnn.cc:338] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR

2019-05-25 21:22:20.872526: W tensorflow/core/framework/op_kernel.cc:1431] OP_REQUIRES failed at cudnn_rnn_ops.cc:1280 : Unknown: Fail to find the dnn implementation.

2019-05-25 21:22:20.872567: W tensorflow/core/common_runtime/base_collective_executor.cc:214] BaseCollectiveExecutor::StartAbort Unknown: Fail to find the dnn implementation.

[[{{node bidirectional_2/CudnnRNN}}]]

[[loss_2/dense_5_loss/binary_crossentropy/weighted_loss/broadcast_weights/assert_broadcastable/is_valid_shape/else/_1/has_valid_nonscalar_shape/then/_47/has_invalid_dims_0/_52]]

2019-05-25 21:22:20.872626: W tensorflow/core/common_runtime/base_collective_executor.cc:214] BaseCollectiveExecutor::StartAbort Unknown: Fail to find the dnn implementation.

[[{{node bidirectional_2/CudnnRNN}}]]

2019-05-25 21:22:20.872655: E tensorflow/core/common_runtime/process_function_library_runtime.cc:764] Component function execution failed: Unknown: Fail to find the dnn implementation.

[[{{node bidirectional_2/CudnnRNN}}]]

[[loss_2/dense_5_loss/binary_crossentropy/weighted_loss/broadcast_weights/assert_broadcastable/is_valid_shape/else/_1/has_valid_nonscalar_shape/then/_47/has_invalid_dims_0/_52]]

2019-05-25 21:22:20.875125: E tensorflow/stream_executor/cuda/cuda_dnn.cc:338] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR

2019-05-25 21:22:20.875145: W tensorflow/core/framework/op_kernel.cc:1431] OP_REQUIRES failed at cudnn_rnn_ops.cc:1280 : Unknown: Fail to find the dnn implementation.

2019-05-25 21:22:20.875197: E tensorflow/core/common_runtime/process_function_library_runtime.cc:764] Component function execution failed: Unknown: Fail to find the dnn implementation.

[[{{node bidirectional_2/CudnnRNN}}]]