PR #11784: [ROCm] Add Dropout support based on MIOpen API
PR #11784: [ROCm] Add Dropout support based on MIOpen API

Imported from GitHub PR https://github.com/openxla/xla/pull/11784


Copybara import of the project:

--
fc334e480802d2686907ff720a97697e51177690 by mmakevic <Milica.Makevic@amd.com>:

Add dropout descriptor for rocm

--
52cf3ad49e70b3ecf632d8bf83283a068fbb58d0 by mmakevic <Milica.Makevic@amd.com>:

Use SetRNNDescriptor version 2

Merging this change closes #11784

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/11784 from ROCm:ci_add_dropout_layer 52cf3ad49e70b3ecf632d8bf83283a068fbb58d0
