PR #10301: [XLA:CPU][oneDNN] Convolution XLA HLO Pattern Matcher with oneDNN custom call rewrite
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this [failed invocation](https://github.com/tensorflow/tensorflow/pull/68504/checks?check_run_id=25320431544) of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.
PR #10301: [XLA:CPU][oneDNN] Convolution XLA HLO Pattern Matcher with oneDNN custom call rewrite

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

This PR enables oneDNN library call for the matched XLA HLO Convolution pattern through custom_call instruction. In particular, this PR:

1. Adds oneDNN convolution rewriter pass that will rewrite HLO Convolution to oneDNN Convolution.
2. Refactors backend config to enhance code reusability.
3. Adds a convolution test file to verify rewrite and execution result
Copybara import of the project:

--
b7d0abb4f683595c91bf144bcf1b208254ca5c74 by Akhil Goel <akhil.goel@intel.com>:

Add onednn convolution support

--
fbf544ea346250129c00023da7e193aecad5375b by Akhil Goel <akhil.goel@intel.com>:

Remove unused symbol from BUILD file

--
76c079109361c75a6c512d32801039ed7a3f30e1 by Akhil Goel <akhil.goel@intel.com>:

Fix buildifier error

--
01f59d2d11481a1ac0b3e7a491261e1ee541aac0 by Akhil Goel <akhil.goel@intel.com>:

Address Review Comments

--
667502387a855ed0974822334283b890f84d1c34 by Akhil Goel <akhil.goel@intel.com>:

Refactor oneDNN rewritability check to a separate function

Merging this change closes #10301

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/10301 from Intel-tensorflow:akhil/conv_fwd acddc5a8f306d6d0da036e4ef1b9112fe719d16e
