Make CUDNN RNN compatible with eager execution's kernel caching.
Allows multiple CUDNN RNN calls with different shapes to share the same kernel. Adds an input_shape-keyed scratch space cache to the kernel. This also fixes shape errors when a CUDNN RNN kernel was presented with multiple shapes during graph execution (e.g. from a while_loop). Fixes #15752. PiperOrigin-RevId: 180998667
Loading
Please sign in to comment