PR #10747: [XLA:CPU][oneDNN][Bugfix] Fix FLOPs count for dot in oneDNN MatMul Rewriter
PR #10747: [XLA:CPU][oneDNN][Bugfix] Fix FLOPs count for dot in oneDNN MatMul Rewriter

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

This PR fixes a bug in MAC (multiply-accumulate) / FMA(fused-multiply-add)  count in dot operation when B matrix is transposed.
Copybara import of the project:

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

Fix MAC(Multiply Accumulate) count

Merging this change closes #10747

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/10747 from Intel-tensorflow:amin/fix-mac-count d989fdba6beaff1f0deed1fdee80792f7ef03089
