PR #11053: [XLA:CPU][oneDNN] Variant patterns of GELU tanh approximation
PR #11053: [XLA:CPU][oneDNN] Variant patterns of GELU tanh approximation

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

This PR supports more patterns from TF->XLA GELU Approximate. It was found that the variations were resulting from associativity of multiply instructions like in the expression a * b * c. An utility function is added in this PR that captures patterns from two consecutive multiplies.
Copybara import of the project:

--
74a287c7784138da3905d618d65a8301c821d7f6 by mdfaijul <md.faijul.amin@intel.com>:

Patterns from tf.nn.gelu(approximate=True)

--
51b4962709de6cee8ec92c9fc225b5fc3371c276 by mdfaijul <md.faijul.amin@intel.com>:

Fix typos

Merging this change closes #11053

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/11053 from Intel-tensorflow:amin/tf-gelu 51b4962709de6cee8ec92c9fc225b5fc3371c276
